Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001487/0.001487, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 188.3 kB / 16.66 MB, free: 6.582 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.02 kB / 0.9504 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2567, allocations: 140.4 MB / 1.087 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04196/0.2987, allocations: 37.27 MB / 1.124 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.3224, allocations: 13.71 MB / 1.137 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.3257, allocations: 111.6 kB / 1.137 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006109/0.3319, allocations: 2.279 MB / 1.14 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.3357, allocations: 1.455 MB / 1.141 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008762/0.3445, allocations: 3.528 MB / 1.144 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008593/0.3531, allocations: 6.391 MB / 1.151 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.3656, allocations: 9.886 MB / 1.16 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.3701, allocations: 2.766 MB / 1.163 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005789/0.3759, allocations: 3.198 MB / 1.166 GB, free: 1.195 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.3777, allocations: 0.6211 MB / 1.167 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.381, allocations: 1.26 MB / 1.168 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003545/0.3846, allocations: 2.48 MB / 1.17 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005001/0.3896, allocations: 2.553 MB / 1.173 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4012, allocations: 9.182 MB / 1.182 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4012, allocations: 0 / 1.182 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4012, allocations: 0 / 1.182 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003157/0.4016, allocations: 0 / 1.182 GB, free: 1.055 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01113/0.4127, allocations: 4.41 MB / 1.186 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4128, allocations: 8.031 kB / 1.186 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.4139, allocations: 0.6404 MB / 1.187 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.4189, allocations: 1.056 MB / 1.188 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.4242, allocations: 2.238 MB / 1.19 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.4245, allocations: 325 kB / 1.19 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.4256, allocations: 424.3 kB / 1.191 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.4418, allocations: 7.408 MB / 1.198 GB, free: 196 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.442, allocations: 19.81 kB / 1.198 GB, free: 176 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.4431, allocations: 184 kB / 1.198 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004825/0.4436, allocations: 286.9 kB / 1.198 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.4576, allocations: 6.026 MB / 1.204 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04022/0.4978, allocations: 32.51 MB / 1.236 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.5015, allocations: 2.13 MB / 1.238 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.5033, allocations: 1.245 MB / 1.239 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.5035, allocations: 110.1 kB / 1.239 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.5036, allocations: 51.5 kB / 1.24 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 5.561e-06/0.5036, allocations: 0 / 1.24 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.00877/0.5124, allocations: 5.44 MB / 1.245 GB, free: 13.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.5126, allocations: 137.5 kB / 1.245 GB, free: 13.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.515, allocations: 1.469 MB / 1.246 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.5152, allocations: 45.7 kB / 1.246 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.5166, allocations: 1.929 MB / 1.248 GB, free: 9.594 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.5171, allocations: 392.8 kB / 1.249 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/0.5179, allocations: 467.4 kB / 1.249 GB, free: 8.742 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.518, allocations: 301.1 kB / 1.249 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.5199, allocations: 1.145 MB / 1.251 GB, free: 7.289 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.5224, allocations: 2.223 MB / 1.253 GB, free: 4.547 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/0.5268, allocations: 3.434 MB / 1.256 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.5268, allocations: 12 kB / 1.256 GB, free: 0.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.5131/1.04, allocations: 3.37 MB / 1.259 GB, free: 155.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/1.04, allocations: 19.78 kB / 1.259 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/1.04, allocations: 37.3 kB / 1.259 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.375e-05/1.04, allocations: 51.44 kB / 1.259 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.043, allocations: 0.6304 MB / 1.26 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.799e-05/1.043, allocations: 70.66 kB / 1.26 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/1.045, allocations: 326.7 kB / 1.26 GB, free: 155.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/1.045, allocations: 114.4 kB / 1.261 GB, free: 155.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003697/1.049, allocations: 2.43 MB / 1.263 GB, free: 155.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002064/1.051, allocations: 2.039 MB / 1.265 GB, free: 153.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003748/1.055, allocations: 3.07 MB / 1.268 GB, free: 151.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.849e-05/1.055, allocations: 10.06 kB / 1.268 GB, free: 151.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004629/1.059, allocations: 2.985 MB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/1.059, allocations: 20.7 kB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-05/1.059, allocations: 36.09 kB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.526e-05/1.059, allocations: 50.41 kB / 1.271 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.061, allocations: 0.5722 MB / 1.272 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.608e-05/1.061, allocations: 68 kB / 1.272 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.063, allocations: 264.7 kB / 1.272 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.064, allocations: 118.1 kB / 1.272 GB, free: 150 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005071/1.064, allocations: 339.6 kB / 1.272 GB, free: 149.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/1.064, allocations: 161.1 kB / 1.272 GB, free: 149.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.068, allocations: 2.251 MB / 1.275 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.068, allocations: 11.06 kB / 1.275 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.068, allocations: 1.281 kB / 1.275 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.068, allocations: 6.156 kB / 1.275 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.084, allocations: 10.99 MB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.084, allocations: 10.28 kB / 1.285 GB, free: 144.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.085, allocations: 391.4 kB / 1.286 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.085, allocations: 19.28 kB / 1.286 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.592e-05/1.085, allocations: 34.95 kB / 1.286 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-05/1.085, allocations: 23.25 kB / 1.286 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.085, allocations: 20.66 kB / 1.286 GB, free: 144.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/1.088, allocations: 2.764 MB / 1.289 GB, free: 143.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/1.089, allocations: 458.8 kB / 1.289 GB, free: 143 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/1.089, allocations: 43.45 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.091, allocations: 173.5 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.091, allocations: 107.4 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/1.091, allocations: 38.47 kB / 1.289 GB, free: 142.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001395/1.092, allocations: 1.005 MB / 1.29 GB, free: 142.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 0 / 1.29 GB, free: 142.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004863/1.097, allocations: 1.136 MB / 1.291 GB, free: 142.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.003279/1.101, allocations: 3.355 MB / 1.295 GB, free: 140.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006323/1.107, allocations: 4.073 MB / 1.299 GB, free: 139 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/1.107, allocations: 0 / 1.299 GB, free: 139 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.108, allocations: 1.059 MB / 1.3 GB, free: 138.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.111, allocations: 447 kB / 1.3 GB, free: 138.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.135, allocations: 21.94 MB / 1.322 GB, free: 121.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.137, allocations: 2.868 MB / 1.324 GB, free: 118.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002464/1.14, allocations: 1.229 MB / 1.326 GB, free: 117.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.141, allocations: 1.276 MB / 1.327 GB, free: 115.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.141, allocations: 0 / 1.327 GB, free: 115.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/1.2, allocations: 47.75 MB / 1.373 GB, free: 68.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/11.2, allocations: 6.672 kB / 1.373 GB, free: 68.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches