Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006776/0.006776, allocations: 103.6 kB / 15.74 MB, free: 6.445 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.001688/0.001688, allocations: 196.6 kB / 16.67 MB, free: 6.352 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.415/2.415, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001727, allocations: 63.84 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2577, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004481/0.2622, allocations: 3.087 MB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.2648, allocations: 1.71 MB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.2649, allocations: 7.938 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009186/0.2658, allocations: 334.7 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.2662, allocations: 215.1 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2666, allocations: 171.5 kB / 1.172 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.267, allocations: 327 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.2674, allocations: 252.9 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2676, allocations: 139.5 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.2679, allocations: 167.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.268, allocations: 24 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.2683, allocations: 231.6 kB / 1.173 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2685, allocations: 99.77 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2686, allocations: 127.3 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.2691, allocations: 422.5 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2691, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2691, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2691, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 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.0008686/0.27, allocations: 0.557 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.27, allocations: 8.031 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.2701, allocations: 54.73 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.2708, allocations: 100.6 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2711, allocations: 258.3 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2711, allocations: 12.81 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.2712, allocations: 32.55 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.2718, allocations: 380.9 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2718, allocations: 0 / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2718, allocations: 8 kB / 1.175 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/0.2719, allocations: 28.42 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.2724, allocations: 309.5 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.2742, allocations: 1.545 MB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.2746, allocations: 222.5 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2747, allocations: 116.8 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.2749, allocations: 93.03 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2749, allocations: 30.56 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.2749, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001229/0.2762, allocations: 0.8005 MB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2762, allocations: 55.36 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2764, allocations: 186.7 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2764, allocations: 29.7 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.2766, allocations: 164.2 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.2766, allocations: 67.39 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.2767, allocations: 57.69 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2769, allocations: 334.8 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.277, allocations: 115.9 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2773, allocations: 163.5 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2777, allocations: 296.9 kB / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2777, allocations: 0 / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007509/0.2784, allocations: 426 kB / 1.179 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2785, allocations: 9.812 kB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2785, allocations: 0 / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.2789, allocations: 96.77 kB / 1.18 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2791, allocations: 56.02 kB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.2811, allocations: 1.887 MB / 1.181 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2814, allocations: 15.92 kB / 1.182 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.2814, allocations: 8 kB / 1.182 GB, free: 6.938 MB / 0.9356 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.0001636/0.2815, allocations: 164 kB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.2816, allocations: 19.97 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.2821, allocations: 293.6 kB / 1.182 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2821, allocations: 4 kB / 1.182 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.2821, allocations: 0 / 1.182 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2821, allocations: 3.938 kB / 1.182 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.283, allocations: 0.7146 MB / 1.183 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2831, allocations: 3.984 kB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2833, allocations: 55.95 kB / 1.183 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.2834, allocations: 7.938 kB / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2834, allocations: 0 / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2834, allocations: 4 kB / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2834, allocations: 3.938 kB / 1.183 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.284, allocations: 0.5126 MB / 1.183 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2842, allocations: 121 kB / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.2842, allocations: 4 kB / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2844, allocations: 11.98 kB / 1.183 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2844, allocations: 11.98 kB / 1.183 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2844, allocations: 8 kB / 1.183 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001314/0.2846, allocations: 144 kB / 1.184 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2846, allocations: 0 / 1.184 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003375/0.2849, allocations: 72.06 kB / 1.184 GB, free: 4.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009549/0.2859, allocations: 1.07 MB / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007191/0.2866, allocations: 428.1 kB / 1.185 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2866, allocations: 0 / 1.185 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2868, allocations: 123.8 kB / 1.185 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.2872, allocations: 36.48 kB / 1.185 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.2909, allocations: 2.907 MB / 1.188 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.2913, allocations: 0.7753 MB / 1.189 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.2915, allocations: 61.89 kB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2916, allocations: 63.41 kB / 1.189 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.2916, allocations: 0 / 1.189 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3493/0.641, allocations: 5.095 MB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.67, allocations: 12.3 kB / 1.194 GB, free: 10.11 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches