Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001601/0.001601, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001702/0.001702, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.671/1.671, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.743 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 70.77 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 159.1 MB / 1.065 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006514/0.3841, allocations: 4.15 MB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.3883, allocations: 2.361 MB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.3886, allocations: 4 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3902, allocations: 0.5507 MB / 1.072 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007575/0.3909, allocations: 286.7 kB / 1.072 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.3919, allocations: 347.1 kB / 1.072 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.3926, allocations: 0.5645 MB / 1.073 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000587/0.3932, allocations: 372 kB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.3935, allocations: 231.2 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.394, allocations: 283 kB / 1.074 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.394, allocations: 32 kB / 1.074 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.3946, allocations: 279.5 kB / 1.074 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3948, allocations: 179.5 kB / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.3951, allocations: 218.9 kB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.3959, allocations: 0.6543 MB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3959, allocations: 0 / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3959, allocations: 0 / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.3959, allocations: 3.938 kB / 1.075 GB, free: 4.23 MB / 0.8419 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.001272/0.3972, allocations: 0.7137 MB / 1.076 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3973, allocations: 8.625 kB / 1.076 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.3985, allocations: 164.3 kB / 1.076 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.399, allocations: 324.4 kB / 1.076 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.399, allocations: 29.31 kB / 1.076 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.3991, allocations: 36.36 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4001, allocations: 0.6419 MB / 1.077 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4002, allocations: 3.938 kB / 1.077 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.4002, allocations: 16 kB / 1.077 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.443e-05/0.4003, allocations: 40.62 kB / 1.077 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.4012, allocations: 493.3 kB / 1.077 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.532/0.9332, allocations: 3.438 MB / 1.081 GB, free: 20.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.934, allocations: 377.8 kB / 1.081 GB, free: 20.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.9342, allocations: 170.9 kB / 1.081 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.9343, allocations: 6.438 kB / 1.081 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.9343, allocations: 36.72 kB / 1.081 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.9343, allocations: 0 / 1.081 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004705/0.939, allocations: 1.455 MB / 1.083 GB, free: 19.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.9391, allocations: 85.14 kB / 1.083 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.9395, allocations: 341.5 kB / 1.083 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.9395, allocations: 26.8 kB / 1.083 GB, free: 19.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.9397, allocations: 260 kB / 1.083 GB, free: 19.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.9397, allocations: 95.17 kB / 1.083 GB, free: 19.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9399, allocations: 98.91 kB / 1.083 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.9399, allocations: 340.2 kB / 1.084 GB, free: 18.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.9403, allocations: 191.4 kB / 1.084 GB, free: 18.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.9407, allocations: 354.7 kB / 1.084 GB, free: 18.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.9413, allocations: 0.5409 MB / 1.085 GB, free: 18.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9413, allocations: 2.25 kB / 1.085 GB, free: 18.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002434/0.9438, allocations: 0.9143 MB / 1.086 GB, free: 18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.9438, allocations: 15.62 kB / 1.086 GB, free: 18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9438, allocations: 6.25 kB / 1.086 GB, free: 18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.9462, allocations: 0.4966 MB / 1.086 GB, free: 17.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.9466, allocations: 96.64 kB / 1.086 GB, free: 17.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.952, allocations: 4.063 MB / 1.09 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.9526, allocations: 48.69 kB / 1.09 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.9526, allocations: 19.83 kB / 1.09 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004495/0.9531, allocations: 308.9 kB / 1.091 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003518/0.9534, allocations: 340.3 kB / 1.091 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005767/0.954, allocations: 0.5052 MB / 1.091 GB, free: 14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.954, allocations: 0.875 kB / 1.091 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009103/0.9549, allocations: 0.5499 MB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.955, allocations: 7.375 kB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.955, allocations: 7.266 kB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.955, allocations: 7.938 kB / 1.092 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.9554, allocations: 112 kB / 1.092 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.9554, allocations: 13.52 kB / 1.092 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.9558, allocations: 45.83 kB / 1.092 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.9559, allocations: 25.14 kB / 1.092 GB, free: 13.73 MB / 0.8419 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.0001344/0.956, allocations: 212.2 kB / 1.092 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.9561, allocations: 31.94 kB / 1.092 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.9578, allocations: 0.6736 MB / 1.093 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9579, allocations: 4.484 kB / 1.093 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9579, allocations: 5.219 kB / 1.093 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.9579, allocations: 1.359 kB / 1.093 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009913/0.9589, allocations: 0.6526 MB / 1.094 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9589, allocations: 0.5625 kB / 1.094 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.9591, allocations: 45.59 kB / 1.094 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.9607, allocations: 409.9 kB / 1.094 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.9608, allocations: 6.625 kB / 1.094 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.9645, allocations: 3.763 MB / 1.098 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9645, allocations: 1.438 kB / 1.098 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.9662, allocations: 0.8222 MB / 1.099 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.9664, allocations: 146.5 kB / 1.099 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.9665, allocations: 8.188 kB / 1.099 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.9669, allocations: 38.14 kB / 1.099 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.967, allocations: 22.97 kB / 1.099 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.967, allocations: 11.94 kB / 1.099 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003101/0.9673, allocations: 234.2 kB / 1.099 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9673, allocations: 0 / 1.099 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009809/0.9683, allocations: 196 kB / 1.099 GB, free: 9.016 MB / 0.8419 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.0001468/0.9685, allocations: 111.8 kB / 1.099 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.9703, allocations: 1.018 MB / 1.1 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9703, allocations: 0 / 1.1 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.971, allocations: 495.4 kB / 1.101 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.9716, allocations: 75.97 kB / 1.101 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.9729, allocations: 0.8053 MB / 1.102 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.9732, allocations: 0.8454 MB / 1.103 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.9733, allocations: 32.55 kB / 1.103 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.9733, allocations: 0.9844 kB / 1.103 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.01405/0.9874, allocations: 8.427 MB / 1.111 GB, free: 6.305 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches