Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_11_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.005324/0.005324, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001541/0.001541, allocations: 202 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02307/0.3199, allocations: 17.19 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009703/0.3296, allocations: 5.849 MB / 1.243 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.3303, allocations: 51.88 kB / 1.243 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.3335, allocations: 1.306 MB / 1.244 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3352, allocations: 0.8363 MB / 1.245 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.3381, allocations: 1.333 MB / 1.246 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5867/0.9248, allocations: 4.276 MB / 1.25 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006725/0.9316, allocations: 6.798 MB / 1.257 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.9338, allocations: 1.905 MB / 1.259 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.9364, allocations: 2.296 MB / 1.261 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008703/0.9373, allocations: 446.3 kB / 1.261 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.9389, allocations: 0.8441 MB / 1.262 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.9407, allocations: 1.723 MB / 1.264 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.9429, allocations: 1.756 MB / 1.266 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00673/0.9497, allocations: 6.394 MB / 1.272 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9497, allocations: 0 / 1.272 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9497, allocations: 0 / 1.272 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001422/0.9499, allocations: 4 kB / 1.272 GB, free: 6.254 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.007007/0.9569, allocations: 3.14 MB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.9569, allocations: 12.22 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006504/0.9576, allocations: 463.1 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005321/0.9629, allocations: 1.134 MB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.9657, allocations: 1.635 MB / 1.278 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.9659, allocations: 225 kB / 1.278 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/0.9664, allocations: 290 kB / 1.279 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009176/0.9756, allocations: 5.313 MB / 1.284 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.137e-05/0.9757, allocations: 1.781 kB / 1.284 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.9761, allocations: 121.9 kB / 1.284 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.9763, allocations: 203.1 kB / 1.284 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007857/0.9842, allocations: 4.765 MB / 1.289 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/1.013, allocations: 23.05 MB / 1.311 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004929/1.018, allocations: 3.194 MB / 1.314 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.019, allocations: 0.9259 MB / 1.315 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.019, allocations: 104.7 kB / 1.315 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.02, allocations: 52.31 kB / 1.315 GB, free: 14.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/1.02, allocations: 0 / 1.315 GB, free: 14.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=82): time 0.003308/1.023, allocations: 2.071 MB / 1.318 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.023, allocations: 228.5 kB / 1.318 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.025, allocations: 1.098 MB / 1.319 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/1.025, allocations: 40.55 kB / 1.319 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.026, allocations: 1.33 MB / 1.32 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.026, allocations: 321.5 kB / 1.32 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/1.027, allocations: 352.5 kB / 1.321 GB, free: 11.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.027, allocations: 342.2 kB / 1.321 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/1.028, allocations: 0.8945 MB / 1.322 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/1.03, allocations: 1.509 MB / 1.323 GB, free: 9.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.034, allocations: 2.357 MB / 1.326 GB, free: 7.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/1.034, allocations: 5.469 kB / 1.326 GB, free: 7.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003995/1.038, allocations: 2.494 MB / 1.328 GB, free: 6.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.038, allocations: 13.5 kB / 1.328 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.038, allocations: 18.34 kB / 1.328 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.149e-05/1.038, allocations: 35.27 kB / 1.328 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.039, allocations: 461.2 kB / 1.329 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/1.039, allocations: 44.75 kB / 1.329 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.041, allocations: 358.3 kB / 1.329 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.041, allocations: 78.42 kB / 1.329 GB, free: 6.258 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003071/1.044, allocations: 1.901 MB / 1.331 GB, free: 5.191 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001826/1.046, allocations: 1.447 MB / 1.332 GB, free: 3.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002893/1.049, allocations: 2.2 MB / 1.335 GB, free: 2.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.216e-05/1.049, allocations: 6.188 kB / 1.335 GB, free: 2.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003667/1.053, allocations: 2.326 MB / 1.337 GB, free: 1.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.053, allocations: 12.78 kB / 1.337 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.053, allocations: 23.88 kB / 1.337 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.053, allocations: 27.97 kB / 1.337 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.054, allocations: 436.2 kB / 1.337 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/1.054, allocations: 45.38 kB / 1.337 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.056, allocations: 282.7 kB / 1.338 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/1.056, allocations: 77.08 kB / 1.338 GB, free: 1.043 MB / 1.029 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.0004211/1.056, allocations: 294.3 kB / 1.338 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.057, allocations: 105.1 kB / 1.338 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/1.059, allocations: 1.553 MB / 1.34 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.059, allocations: 9.75 kB / 1.34 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.059, allocations: 2.875 kB / 1.34 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.059, allocations: 13.11 kB / 1.34 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/1.066, allocations: 4.479 MB / 1.344 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.066, allocations: 2.094 kB / 1.344 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/1.067, allocations: 247.8 kB / 1.344 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.067, allocations: 8.938 kB / 1.344 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/1.068, allocations: 17.47 kB / 1.344 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.068, allocations: 4.875 kB / 1.344 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/1.068, allocations: 9.188 kB / 1.344 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/1.07, allocations: 1.913 MB / 1.346 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/1.07, allocations: 324.6 kB / 1.346 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.071, allocations: 26.17 kB / 1.346 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/1.071, allocations: 118.6 kB / 1.347 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.072, allocations: 60.36 kB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.072, allocations: 20.5 kB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001053/1.073, allocations: 0.799 MB / 1.347 GB, free: 10.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 1.031 kB / 1.347 GB, free: 10.97 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003174/1.076, allocations: 1.324 MB / 1.349 GB, free: 10.54 MB / 1.045 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.00264/1.079, allocations: 2.468 MB / 1.351 GB, free: 8.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004763/1.083, allocations: 2.997 MB / 1.354 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.083, allocations: 0 / 1.354 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/1.084, allocations: 0.661 MB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.086, allocations: 201.8 kB / 1.355 GB, free: 5.555 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.11, allocations: 15.22 MB / 1.37 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/1.113, allocations: 2.214 MB / 1.372 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00248/1.115, allocations: 1.093 MB / 1.373 GB, free: 2.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.117, allocations: 0.839 MB / 1.374 GB, free: 1.539 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/1.117, allocations: 4 kB / 1.374 GB, free: 1.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06582/1.182, allocations: 32.05 MB / 1.405 GB, free: 1.859 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/10.7, allocations: 6.188 kB / 1.405 GB, free: 1.859 MB / 1.092 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches