Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 198 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.925/2.925, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.8685 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7542, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007035/0.7613, allocations: 4.191 MB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.7657, allocations: 2.377 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.7661, allocations: 11.94 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.7678, allocations: 0.51 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.7688, allocations: 270.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7698, allocations: 304.5 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.771, allocations: 0.8141 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/0.7719, allocations: 374.1 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.7724, allocations: 203.2 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.7732, allocations: 287 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.233e-05/0.7733, allocations: 24 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007908/0.7741, allocations: 331.4 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.7743, allocations: 171.5 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.7747, allocations: 214.9 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.7758, allocations: 0.6503 MB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7758, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7758, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.7759, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001575/0.7775, allocations: 0.7252 MB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7775, allocations: 12.03 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.7789, allocations: 160.3 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.7795, allocations: 320.4 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.7795, allocations: 29.31 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.7796, allocations: 40.36 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.7808, allocations: 0.6458 MB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.7808, allocations: 3.938 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.7809, allocations: 12 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.53e-05/0.781, allocations: 44.62 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.7819, allocations: 490.1 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.786, allocations: 3.436 MB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.7868, allocations: 380.6 kB / 1.033 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.787, allocations: 173.6 kB / 1.033 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.7871, allocations: 4 kB / 1.033 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.7872, allocations: 34.56 kB / 1.033 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.306e-06/0.7872, allocations: 4 kB / 1.033 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.004925/0.7921, allocations: 1.457 MB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.7922, allocations: 89.03 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.7928, allocations: 332.4 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.7928, allocations: 29.7 kB / 1.035 GB, free: 15.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.7931, allocations: 263.2 kB / 1.035 GB, free: 14.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7932, allocations: 90.75 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.7934, allocations: 94.14 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.7936, allocations: 338.8 kB / 1.036 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.794, allocations: 195 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.7945, allocations: 354 kB / 1.036 GB, free: 13.72 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.7953, allocations: 0.5435 MB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.7953, allocations: 4 kB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002568/0.7979, allocations: 0.9159 MB / 1.038 GB, free: 12.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.7979, allocations: 8 kB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.798, allocations: 4.438 kB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.8003, allocations: 0.5009 MB / 1.038 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.8008, allocations: 95.81 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.8067, allocations: 3.787 MB / 1.042 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.8073, allocations: 51.95 kB / 1.042 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.8074, allocations: 20 kB / 1.042 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005089/0.8079, allocations: 309.1 kB / 1.043 GB, free: 7.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004242/0.8084, allocations: 335.8 kB / 1.043 GB, free: 6.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007125/0.8091, allocations: 0.5057 MB / 1.043 GB, free: 6.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.8091, allocations: 7.938 kB / 1.043 GB, free: 6.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009683/0.8101, allocations: 0.5372 MB / 1.044 GB, free: 5.586 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.8101, allocations: 8 kB / 1.044 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8101, allocations: 8 kB / 1.044 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.8101, allocations: 12.67 kB / 1.044 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.8106, allocations: 107.8 kB / 1.044 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.8106, allocations: 15.92 kB / 1.044 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.8111, allocations: 39.88 kB / 1.044 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.8111, allocations: 20 kB / 1.044 GB, free: 5.379 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.8113, allocations: 212 kB / 1.044 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.8114, allocations: 35.62 kB / 1.044 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.8132, allocations: 0.6671 MB / 1.045 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8132, allocations: 4 kB / 1.045 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8133, allocations: 4 kB / 1.045 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8133, allocations: 0 / 1.045 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.8143, allocations: 0.6559 MB / 1.046 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.8143, allocations: 0 / 1.046 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.8145, allocations: 55.84 kB / 1.046 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.8161, allocations: 397.3 kB / 1.046 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.8162, allocations: 4 kB / 1.046 GB, free: 3.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.8204, allocations: 3.494 MB / 1.05 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8204, allocations: 4 kB / 1.05 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.8222, allocations: 0.8306 MB / 1.05 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.8225, allocations: 140.6 kB / 1.05 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.8226, allocations: 11.91 kB / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.823, allocations: 39.94 kB / 1.051 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.8231, allocations: 19.97 kB / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.8231, allocations: 19.92 kB / 1.051 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003258/0.8234, allocations: 235 kB / 1.051 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8234, allocations: 0 / 1.051 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009927/0.8244, allocations: 196 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/0.8247, allocations: 107.2 kB / 1.051 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.8267, allocations: 0.9792 MB / 1.052 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8267, allocations: 0 / 1.052 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.8275, allocations: 481.4 kB / 1.052 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.8282, allocations: 65.05 kB / 1.053 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.8299, allocations: 0.909 MB / 1.053 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.8305, allocations: 0.8431 MB / 1.054 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004948/0.831, allocations: 139.1 kB / 1.054 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.8311, allocations: 31.44 kB / 1.054 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of SimCode: time 9.21e-07/0.8311, allocations: 0 / 1.054 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.01596/0.8471, allocations: 6.977 MB / 1.061 GB, free: 3.367 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches