Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.008137/0.008137, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001789/0.001789, allocations: 188.5 kB / 16.67 MB, free: 5.926 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.548/2.548, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.03 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7576, allocations: 159.1 MB / 1.22 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01996/0.7776, allocations: 17.2 MB / 1.237 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009484/0.7872, allocations: 5.841 MB / 1.242 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.7888, allocations: 51.88 kB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.7924, allocations: 1.298 MB / 1.244 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.7945, allocations: 0.8479 MB / 1.244 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.7977, allocations: 1.328 MB / 1.246 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004398/0.8021, allocations: 4.295 MB / 1.25 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007859/0.81, allocations: 6.804 MB / 1.257 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.8125, allocations: 1.929 MB / 1.258 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.8158, allocations: 2.287 MB / 1.261 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000969/0.8168, allocations: 444 kB / 1.261 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.8187, allocations: 0.8467 MB / 1.262 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.8209, allocations: 1.716 MB / 1.264 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.8237, allocations: 1.763 MB / 1.265 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006683/0.8304, allocations: 6.399 MB / 1.272 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8305, allocations: 0 / 1.272 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8305, allocations: 0 / 1.272 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001681/0.8306, allocations: 0 / 1.272 GB, free: 13.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007217/0.8379, allocations: 3.142 MB / 1.275 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8379, allocations: 8.625 kB / 1.275 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006158/0.8385, allocations: 466.7 kB / 1.275 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/0.8435, allocations: 1.13 MB / 1.276 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.8467, allocations: 1.636 MB / 1.278 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.8469, allocations: 222.4 kB / 1.278 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004793/0.8474, allocations: 292.4 kB / 1.278 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/0.8557, allocations: 5.311 MB / 1.283 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.8558, allocations: 4 kB / 1.283 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.8561, allocations: 120 kB / 1.284 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.8564, allocations: 205.1 kB / 1.284 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007744/0.8641, allocations: 4.767 MB / 1.288 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.8897, allocations: 23.04 MB / 1.311 GB, free: 2.234 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.8939, allocations: 3.175 MB / 1.314 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.8951, allocations: 0.9233 MB / 1.315 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.8953, allocations: 117.6 kB / 1.315 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8953, allocations: 55.09 kB / 1.315 GB, free: 13.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.8954, allocations: 0 / 1.315 GB, free: 13.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.003051/0.8984, allocations: 2.071 MB / 1.317 GB, free: 11.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8985, allocations: 222.3 kB / 1.317 GB, free: 11.3 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.8999, allocations: 1.098 MB / 1.318 GB, free: 10.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.8999, allocations: 41.7 kB / 1.318 GB, free: 10.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.9007, allocations: 1.329 MB / 1.32 GB, free: 8.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.901, allocations: 321.4 kB / 1.32 GB, free: 8.484 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.9015, allocations: 355.5 kB / 1.32 GB, free: 8.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9017, allocations: 337.9 kB / 1.321 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.9029, allocations: 0.8908 MB / 1.322 GB, free: 6.902 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.9046, allocations: 1.519 MB / 1.323 GB, free: 5.105 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.9074, allocations: 2.35 MB / 1.325 GB, free: 2.484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.9074, allocations: 8 kB / 1.325 GB, free: 2.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003522/0.9109, allocations: 2.492 MB / 1.328 GB, free: 15.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.911, allocations: 12 kB / 1.328 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.911, allocations: 24.06 kB / 1.328 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/0.911, allocations: 28.72 kB / 1.328 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.9129, allocations: 467.2 kB / 1.328 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.391e-05/0.9129, allocations: 39.86 kB / 1.328 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.9144, allocations: 350.3 kB / 1.329 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.9145, allocations: 83.97 kB / 1.329 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002614/0.9171, allocations: 1.897 MB / 1.331 GB, free: 13.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001564/0.9187, allocations: 1.446 MB / 1.332 GB, free: 11.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002479/0.9212, allocations: 2.198 MB / 1.334 GB, free: 8.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.806e-06/0.9212, allocations: 8 kB / 1.334 GB, free: 8.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.00334/0.9246, allocations: 2.332 MB / 1.336 GB, free: 6.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9246, allocations: 14.19 kB / 1.336 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.9246, allocations: 23.94 kB / 1.336 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.9247, allocations: 28 kB / 1.336 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.926, allocations: 435.3 kB / 1.337 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.167e-05/0.9261, allocations: 39.86 kB / 1.337 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.9275, allocations: 287.3 kB / 1.337 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.9276, allocations: 91.78 kB / 1.337 GB, free: 5.645 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0003804/0.928, allocations: 279.7 kB / 1.338 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.9283, allocations: 107.3 kB / 1.338 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.9306, allocations: 1.56 MB / 1.339 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.9306, allocations: 12 kB / 1.339 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.9306, allocations: 0 / 1.339 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9306, allocations: 11.92 kB / 1.339 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/0.9372, allocations: 4.474 MB / 1.344 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9372, allocations: 0 / 1.344 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.9382, allocations: 255.5 kB / 1.344 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.9382, allocations: 4 kB / 1.344 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.9383, allocations: 20 kB / 1.344 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.9383, allocations: 4 kB / 1.344 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9383, allocations: 0 / 1.344 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.9403, allocations: 1.92 MB / 1.346 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/0.9409, allocations: 328.2 kB / 1.346 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.9411, allocations: 23.95 kB / 1.346 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.9419, allocations: 115.8 kB / 1.346 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.9421, allocations: 56.52 kB / 1.346 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.9421, allocations: 20 kB / 1.346 GB, free: 12.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009825/0.9431, allocations: 0.8035 MB / 1.347 GB, free: 11.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9431, allocations: 0 / 1.347 GB, free: 11.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002948/0.9461, allocations: 1.323 MB / 1.348 GB, free: 10.16 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.00238/0.9485, allocations: 2.484 MB / 1.351 GB, free: 7.652 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004482/0.953, allocations: 2.982 MB / 1.354 GB, free: 4.676 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.953, allocations: 8 kB / 1.354 GB, free: 4.668 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.9538, allocations: 0.657 MB / 1.354 GB, free: 4.012 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.9553, allocations: 193.9 kB / 1.355 GB, free: 3.828 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.9753, allocations: 15.23 MB / 1.369 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.9774, allocations: 2.206 MB / 1.372 GB, free: 1.68 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002307/0.9797, allocations: 1.101 MB / 1.373 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.9809, allocations: 0.8469 MB / 1.373 GB, free: 15.73 MB / 1.107 GB Notification: Performance of SimCode: time 9.22e-07/0.9809, allocations: 0 / 1.373 GB, free: 15.73 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/1.034, allocations: 32.04 MB / 1.405 GB, free: 15.96 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.892, allocations: 18.73 kB / 1.405 GB, free: 15.94 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches