Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 111.2 kB / 16.81 MB, free: 5.766 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.002096/0.002096, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.444/1.444, allocations: 225.6 MB / 244.2 MB, free: 13.88 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.796/2.796, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.92 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3753, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005894/0.3812, allocations: 3.115 MB / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3845, allocations: 1.749 MB / 1.267 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.3847, allocations: 4 kB / 1.267 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3859, allocations: 330.3 kB / 1.267 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.3866, allocations: 223.1 kB / 1.267 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.3872, allocations: 183.5 kB / 1.268 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3876, allocations: 319 kB / 1.268 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.388, allocations: 192.7 kB / 1.268 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3883, allocations: 135.6 kB / 1.268 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.3886, allocations: 171.4 kB / 1.268 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.3887, allocations: 20 kB / 1.268 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.3892, allocations: 247.5 kB / 1.269 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3893, allocations: 107.7 kB / 1.269 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.3894, allocations: 123.4 kB / 1.269 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.3901, allocations: 426.5 kB / 1.269 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3901, allocations: 0 / 1.269 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3901, allocations: 0 / 1.269 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3901, allocations: 0 / 1.269 GB, free: 5.625 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001165/0.3913, allocations: 0.5571 MB / 1.27 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.3913, allocations: 8.625 kB / 1.27 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.3921, allocations: 92.69 kB / 1.27 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.3925, allocations: 258.5 kB / 1.27 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3925, allocations: 16.81 kB / 1.27 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3926, allocations: 24.55 kB / 1.27 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.3932, allocations: 377.1 kB / 1.27 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3932, allocations: 3.984 kB / 1.27 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3933, allocations: 12 kB / 1.27 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.3934, allocations: 24.42 kB / 1.271 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.3939, allocations: 309.5 kB / 1.271 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.3959, allocations: 1.522 MB / 1.272 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.3964, allocations: 222.3 kB / 1.272 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3965, allocations: 104.8 kB / 1.273 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.3967, allocations: 97.08 kB / 1.273 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3967, allocations: 30.88 kB / 1.273 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.3967, allocations: 0 / 1.273 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001465/0.3982, allocations: 0.7981 MB / 1.273 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.3983, allocations: 55.41 kB / 1.274 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.3985, allocations: 192 kB / 1.274 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3985, allocations: 29.7 kB / 1.274 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3987, allocations: 168.1 kB / 1.274 GB, free: 400 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.3987, allocations: 67.44 kB / 1.274 GB, free: 332 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3988, allocations: 57.69 kB / 1.274 GB, free: 268 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.399, allocations: 330.8 kB / 1.274 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3992, allocations: 115.9 kB / 1.274 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3995, allocations: 173.9 kB / 1.275 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.3999, allocations: 295.9 kB / 1.275 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3999, allocations: 0 / 1.275 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008223/0.4007, allocations: 415.7 kB / 1.275 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4008, allocations: 11.94 kB / 1.275 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4008, allocations: 8.172 kB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/0.4012, allocations: 96.77 kB / 1.275 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.4015, allocations: 55.89 kB / 1.275 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.4039, allocations: 1.879 MB / 1.277 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.4041, allocations: 16.02 kB / 1.277 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4041, allocations: 15.94 kB / 1.277 GB, free: 12.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.4043, allocations: 157.7 kB / 1.277 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.4044, allocations: 15.91 kB / 1.278 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.4049, allocations: 299.4 kB / 1.278 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4049, allocations: 0 / 1.278 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4049, allocations: 3.938 kB / 1.278 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.405, allocations: 117 kB / 1.278 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4051, allocations: 3.938 kB / 1.278 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4052, allocations: 15.98 kB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.4053, allocations: 7.984 kB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007296/0.406, allocations: 394.4 kB / 1.278 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007022/0.4067, allocations: 0.5902 MB / 1.279 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001723/0.4069, allocations: 108 kB / 1.279 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001414/0.407, allocations: 144.1 kB / 1.279 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of Backend: time 5.21e-07/0.407, allocations: 0 / 1.279 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.4083, allocations: 0.5072 MB / 1.28 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001286/0.4096, allocations: 0.9886 MB / 1.281 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of Templates: time 0.009768/0.4194, allocations: 4.634 MB / 1.285 GB, free: 4.602 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches