Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.00726/0.007265, allocations: 99.44 kB / 15.73 MB, free: 6.043 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.001896/0.001896, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 72.11 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.296, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.5631/0.8592, allocations: 11.09 MB / 1.252 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008258/0.8675, allocations: 5.792 MB / 1.258 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008093/0.8683, allocations: 50.03 kB / 1.258 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.8721, allocations: 1.726 MB / 1.26 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.8749, allocations: 1.146 MB / 1.261 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.8769, allocations: 0.8138 MB / 1.262 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.8794, allocations: 2.12 MB / 1.264 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.8809, allocations: 1.307 MB / 1.265 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.8822, allocations: 0.8439 MB / 1.266 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.8833, allocations: 0.9134 MB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.8835, allocations: 113.3 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.8856, allocations: 1.179 MB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004816/0.8861, allocations: 0.5228 MB / 1.268 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.8868, allocations: 0.7891 MB / 1.269 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.8899, allocations: 2.43 MB / 1.272 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8899, allocations: 0 / 1.272 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.89, allocations: 0 / 1.272 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.047e-05/0.89, allocations: 3.938 kB / 1.272 GB, free: 2.117 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002785/0.8928, allocations: 1.923 MB / 1.273 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8928, allocations: 9.188 kB / 1.273 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.893, allocations: 212.8 kB / 1.274 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/0.8974, allocations: 0.6794 MB / 1.274 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.8989, allocations: 1.009 MB / 1.275 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.899, allocations: 100.8 kB / 1.275 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.8992, allocations: 127.7 kB / 1.276 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.9026, allocations: 2.209 MB / 1.278 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.9027, allocations: 19.44 kB / 1.278 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.9029, allocations: 56.39 kB / 1.278 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/0.9031, allocations: 163.1 kB / 1.278 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.9061, allocations: 1.866 MB / 1.28 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.9186, allocations: 12.46 MB / 1.292 GB, free: 3.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/0.923, allocations: 1.972 MB / 1.294 GB, free: 2.871 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009405/0.924, allocations: 0.605 MB / 1.294 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.9242, allocations: 101.8 kB / 1.295 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.9242, allocations: 48.31 kB / 1.295 GB, free: 2.516 MB / 1.014 GB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.9243, allocations: 0 / 1.295 GB, free: 2.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.006716/0.931, allocations: 3.725 MB / 1.298 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.9311, allocations: 68.39 kB / 1.298 GB, free: 496 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.9324, allocations: 0.924 MB / 1.299 GB, free: 100 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.9325, allocations: 41.17 kB / 1.299 GB, free: 56 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/0.9331, allocations: 0.7488 MB / 1.3 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.9335, allocations: 409.1 kB / 1.3 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/0.9339, allocations: 285.8 kB / 1.301 GB, free: 15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9341, allocations: 303 kB / 1.301 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009998/0.9351, allocations: 0.6125 MB / 1.301 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.9366, allocations: 1.11 MB / 1.303 GB, free: 13.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.9391, allocations: 1.833 MB / 1.304 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.9391, allocations: 5.219 kB / 1.304 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003599/0.9427, allocations: 2.104 MB / 1.306 GB, free: 11.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.9428, allocations: 13.09 kB / 1.306 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.9428, allocations: 18.08 kB / 1.306 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.9436, allocations: 264.7 kB / 1.307 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.9449, allocations: 373.3 kB / 1.307 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009328/0.9542, allocations: 11.59 MB / 1.318 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9557, allocations: 126.8 kB / 1.318 GB, free: 16 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.9559, allocations: 71 kB / 1.319 GB, free: 4 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008935/0.9568, allocations: 405.8 kB / 1.319 GB, free: 15.74 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.9571, allocations: 139.8 kB / 1.319 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.9602, allocations: 1.68 MB / 1.321 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.9603, allocations: 12.53 kB / 1.321 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.9603, allocations: 1.5 kB / 1.321 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.9603, allocations: 7.422 kB / 1.321 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/0.9664, allocations: 3.295 MB / 1.324 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9664, allocations: 5.031 kB / 1.324 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.9673, allocations: 218.7 kB / 1.324 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/0.968, allocations: 254.9 kB / 1.324 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.9681, allocations: 29.45 kB / 1.324 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009599/0.9777, allocations: 11.56 MB / 1.336 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.9778, allocations: 10.19 kB / 1.336 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.9812, allocations: 1.804 MB / 1.338 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007136/0.9819, allocations: 312.6 kB / 1.338 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.9822, allocations: 28.72 kB / 1.338 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.983, allocations: 87.97 kB / 1.338 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.9833, allocations: 105.2 kB / 1.338 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.9834, allocations: 34.95 kB / 1.338 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001019/0.9844, allocations: 0.625 MB / 1.339 GB, free: 480 kB / 1.045 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9844, allocations: 0 / 1.339 GB, free: 480 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001706/0.9861, allocations: 393.5 kB / 1.339 GB, free: 436 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003341/0.9895, allocations: 2.401 MB / 1.341 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.9933, allocations: 2.496 MB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.9934, allocations: 0.9375 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.9957, allocations: 1.639 MB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.9976, allocations: 361.7 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.016, allocations: 11.53 MB / 1.357 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.017, allocations: 1.331 MB / 1.358 GB, free: 4.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001117/1.019, allocations: 355.1 kB / 1.359 GB, free: 4.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/1.019, allocations: 0.5304 MB / 1.359 GB, free: 3.781 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.019, allocations: 0 / 1.359 GB, free: 3.781 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/1.099, allocations: 28.29 MB / 1.387 GB, free: 14.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.51, allocations: 14.52 kB / 1.387 GB, free: 14.55 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches