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 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.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.005491/0.005491, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.001204/0.001204, allocations: 190.2 kB / 16.67 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.434/2.434, allocations: 469.4 MB / 0.7422 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7514, allocations: 159.1 MB / 1.22 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01366/0.7651, allocations: 11.1 MB / 1.231 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.7745, allocations: 5.793 MB / 1.236 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.7759, allocations: 55.69 kB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.7803, allocations: 1.719 MB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.7838, allocations: 1.182 MB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.7861, allocations: 0.8168 MB / 1.24 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002933/0.7891, allocations: 2.135 MB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.791, allocations: 1.299 MB / 1.243 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.7925, allocations: 0.8562 MB / 1.244 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.7941, allocations: 0.9104 MB / 1.245 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.7944, allocations: 116 kB / 1.245 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.7969, allocations: 1.177 MB / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.7976, allocations: 0.522 MB / 1.247 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.799, allocations: 0.7849 MB / 1.248 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.8035, allocations: 2.439 MB / 1.25 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8035, allocations: 0 / 1.25 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8035, allocations: 0 / 1.25 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001081/0.8036, allocations: 0 / 1.25 GB, free: 3.383 MB / 0.9669 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.004139/0.8078, allocations: 1.919 MB / 1.252 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8078, allocations: 16.61 kB / 1.252 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/0.8081, allocations: 203.5 kB / 1.252 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.8126, allocations: 0.6864 MB / 1.253 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8146, allocations: 1.001 MB / 1.254 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.8146, allocations: 98.89 kB / 1.254 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.8149, allocations: 128.3 kB / 1.254 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/0.8182, allocations: 2.214 MB / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.8182, allocations: 15.88 kB / 1.256 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.8184, allocations: 59.97 kB / 1.256 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.8186, allocations: 162.3 kB / 1.256 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.8214, allocations: 1.863 MB / 1.258 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.8331, allocations: 12.46 MB / 1.27 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.8373, allocations: 1.98 MB / 1.272 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000794/0.8381, allocations: 0.605 MB / 1.273 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.8383, allocations: 102.1 kB / 1.273 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8383, allocations: 43.5 kB / 1.273 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 3.266e-06/0.8383, allocations: 4 kB / 1.273 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.006055/0.8444, allocations: 3.724 MB / 1.277 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.8444, allocations: 72.34 kB / 1.277 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.8456, allocations: 0.9205 MB / 1.278 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.8457, allocations: 41.7 kB / 1.278 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.8462, allocations: 0.7572 MB / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.8465, allocations: 404.5 kB / 1.279 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.8469, allocations: 287.4 kB / 1.279 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.847, allocations: 301.1 kB / 1.279 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008932/0.8479, allocations: 0.609 MB / 1.28 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.8492, allocations: 1.117 MB / 1.281 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.8514, allocations: 1.828 MB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.8514, allocations: 4 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003327/0.8547, allocations: 2.112 MB / 1.285 GB, free: 13.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.8548, allocations: 13.88 kB / 1.285 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.8548, allocations: 16.91 kB / 1.285 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/0.8556, allocations: 258.6 kB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.8569, allocations: 375.4 kB / 1.285 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/0.8655, allocations: 11.59 MB / 1.297 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8669, allocations: 127.8 kB / 1.297 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.8671, allocations: 72.14 kB / 1.297 GB, free: 84 kB / 1.014 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.0007485/0.8678, allocations: 408.3 kB / 1.297 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.8681, allocations: 135.2 kB / 1.297 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.8709, allocations: 1.681 MB / 1.299 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.8709, allocations: 12 kB / 1.299 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.8709, allocations: 4 kB / 1.299 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.871, allocations: 3.984 kB / 1.299 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/0.8762, allocations: 3.295 MB / 1.302 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8762, allocations: 8 kB / 1.302 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.8771, allocations: 219.6 kB / 1.303 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006902/0.8778, allocations: 239.1 kB / 1.303 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.8779, allocations: 35.92 kB / 1.303 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008156/0.886, allocations: 11.56 MB / 1.314 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.8861, allocations: 7.938 kB / 1.314 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.8888, allocations: 1.804 MB / 1.316 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.8894, allocations: 316.1 kB / 1.316 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.8897, allocations: 31.94 kB / 1.316 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/0.8905, allocations: 91.88 kB / 1.316 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.8907, allocations: 100.6 kB / 1.316 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.8908, allocations: 32 kB / 1.316 GB, free: 10.67 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008351/0.8917, allocations: 0.6255 MB / 1.317 GB, free: 10.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8917, allocations: 0 / 1.317 GB, free: 10.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001496/0.8932, allocations: 395.9 kB / 1.317 GB, free: 9.652 MB / 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.002915/0.8961, allocations: 2.399 MB / 1.32 GB, free: 7.133 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.8997, allocations: 2.5 MB / 1.322 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8997, allocations: 0.875 kB / 1.322 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.9018, allocations: 1.637 MB / 1.324 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.9036, allocations: 363.8 kB / 1.324 GB, free: 2.453 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.9202, allocations: 11.52 MB / 1.335 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.9214, allocations: 1.327 MB / 1.337 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009676/0.9224, allocations: 359.3 kB / 1.337 GB, free: 4.469 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.9231, allocations: 0.5383 MB / 1.338 GB, free: 3.93 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.9231, allocations: 0 / 1.338 GB, free: 3.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06652/0.9897, allocations: 28.28 MB / 1.365 GB, free: 8.027 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.11, allocations: 16.09 kB / 1.365 GB, free: 8.016 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 50 --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