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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007096/0.007096, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001784/0.001784, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3049, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.5648/0.8697, allocations: 17.19 MB / 1.258 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008411/0.8782, allocations: 5.843 MB / 1.264 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.8793, allocations: 53.19 kB / 1.264 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.8821, allocations: 1.295 MB / 1.265 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.8843, allocations: 0.8286 MB / 1.266 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.8876, allocations: 1.337 MB / 1.267 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004475/0.8921, allocations: 4.297 MB / 1.272 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00788/0.9, allocations: 6.792 MB / 1.278 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.903, allocations: 1.914 MB / 1.28 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.9067, allocations: 2.286 MB / 1.282 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007428/0.9075, allocations: 445.9 kB / 1.283 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.9093, allocations: 0.8506 MB / 1.284 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.9113, allocations: 1.719 MB / 1.285 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.9137, allocations: 1.757 MB / 1.287 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008658/0.9224, allocations: 6.392 MB / 1.293 GB, free: 8.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.9224, allocations: 1.844 kB / 1.293 GB, free: 8.246 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9225, allocations: 0 / 1.293 GB, free: 8.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001716/0.9226, allocations: 0 / 1.293 GB, free: 8.246 MB / 1.014 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.008861/0.9315, allocations: 3.141 MB / 1.296 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9316, allocations: 10.34 kB / 1.296 GB, free: 6.461 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009514/0.9325, allocations: 461.5 kB / 1.297 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/0.9381, allocations: 1.13 MB / 1.298 GB, free: 6.004 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.9421, allocations: 1.639 MB / 1.299 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.9423, allocations: 227.3 kB / 1.3 GB, free: 5.023 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008966/0.9432, allocations: 295.2 kB / 1.3 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.9555, allocations: 5.305 MB / 1.305 GB, free: 2.996 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.9557, allocations: 5.344 kB / 1.305 GB, free: 2.992 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008153/0.9565, allocations: 122.6 kB / 1.305 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/0.9568, allocations: 207.7 kB / 1.305 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.9672, allocations: 4.759 MB / 1.31 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/1.001, allocations: 23.04 MB / 1.333 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/1.006, allocations: 3.188 MB / 1.336 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.008, allocations: 0.925 MB / 1.337 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/1.008, allocations: 100 kB / 1.337 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.008, allocations: 43.78 kB / 1.337 GB, free: 11.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/1.008, allocations: 9.031 kB / 1.337 GB, free: 11.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.003714/1.012, allocations: 2.077 MB / 1.339 GB, free: 10.04 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/1.012, allocations: 220.5 kB / 1.339 GB, free: 9.789 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.014, allocations: 1.106 MB / 1.34 GB, free: 9.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.014, allocations: 37.7 kB / 1.34 GB, free: 9.121 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/1.015, allocations: 1.335 MB / 1.341 GB, free: 7.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.015, allocations: 312 kB / 1.342 GB, free: 7.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/1.016, allocations: 354.8 kB / 1.342 GB, free: 7.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.016, allocations: 342.2 kB / 1.342 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.018, allocations: 0.8909 MB / 1.343 GB, free: 6.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.02, allocations: 1.511 MB / 1.345 GB, free: 5.406 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/1.023, allocations: 2.365 MB / 1.347 GB, free: 3.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/1.023, allocations: 6.25 kB / 1.347 GB, free: 3.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004506/1.028, allocations: 2.495 MB / 1.349 GB, free: 2.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.028, allocations: 13.72 kB / 1.349 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/1.028, allocations: 18.84 kB / 1.349 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.048e-05/1.028, allocations: 32.39 kB / 1.35 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.03, allocations: 460.4 kB / 1.35 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.178e-05/1.03, allocations: 38.83 kB / 1.35 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.031, allocations: 355.5 kB / 1.35 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/1.032, allocations: 77.36 kB / 1.35 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003291/1.035, allocations: 1.906 MB / 1.352 GB, free: 0.957 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001924/1.037, allocations: 1.437 MB / 1.354 GB, free: 15.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002953/1.04, allocations: 2.203 MB / 1.356 GB, free: 14.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.242e-05/1.04, allocations: 9.938 kB / 1.356 GB, free: 14.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003743/1.044, allocations: 2.326 MB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.044, allocations: 16 kB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.044, allocations: 19.53 kB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/1.044, allocations: 28.72 kB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.045, allocations: 444.2 kB / 1.359 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.258e-05/1.045, allocations: 47.56 kB / 1.359 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.047, allocations: 290.8 kB / 1.359 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.047, allocations: 79.92 kB / 1.359 GB, free: 12.36 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.0004384/1.048, allocations: 279.6 kB / 1.359 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/1.048, allocations: 111.3 kB / 1.359 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/1.051, allocations: 1.556 MB / 1.361 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.051, allocations: 8 kB / 1.361 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.051, allocations: 4 kB / 1.361 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.051, allocations: 7.922 kB / 1.361 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008199/1.059, allocations: 4.478 MB / 1.365 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.059, allocations: 4 kB / 1.365 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.06, allocations: 251.5 kB / 1.366 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.06, allocations: 4 kB / 1.366 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/1.06, allocations: 20 kB / 1.366 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.06, allocations: 8 kB / 1.366 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.06, allocations: 0 / 1.366 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.063, allocations: 1.913 MB / 1.367 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/1.063, allocations: 324.2 kB / 1.368 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.063, allocations: 23.94 kB / 1.368 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/1.064, allocations: 123.8 kB / 1.368 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.065, allocations: 48.53 kB / 1.368 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/1.065, allocations: 28 kB / 1.368 GB, free: 3.008 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001284/1.066, allocations: 0.7995 MB / 1.369 GB, free: 2.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.066, allocations: 0 / 1.369 GB, free: 2.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003702/1.07, allocations: 1.315 MB / 1.37 GB, free: 0.8906 MB / 1.061 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.00294/1.073, allocations: 2.492 MB / 1.372 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004973/1.078, allocations: 2.983 MB / 1.375 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.078, allocations: 448 / 1.375 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.079, allocations: 0.6633 MB / 1.376 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.08, allocations: 206.8 kB / 1.376 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.104, allocations: 15.22 MB / 1.391 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.107, allocations: 2.21 MB / 1.393 GB, free: 8.395 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002513/1.109, allocations: 1.105 MB / 1.394 GB, free: 7.289 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.111, allocations: 0.8351 MB / 1.395 GB, free: 6.453 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.111, allocations: 0 / 1.395 GB, free: 6.453 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/1.174, allocations: 32.04 MB / 1.426 GB, free: 6.688 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/11.43, allocations: 14.36 kB / 1.426 GB, free: 6.676 MB / 1.123 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 400 --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