Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_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.00944/0.00944, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.002406/0.002405, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.36/1.36, 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 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7257, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01431/0.7401, allocations: 11.11 MB / 1.177 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008839/0.7489, allocations: 5.797 MB / 1.183 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.75, allocations: 51.69 kB / 1.183 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.7544, allocations: 1.731 MB / 1.184 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.7572, allocations: 1.143 MB / 1.186 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.7593, allocations: 0.8102 MB / 1.186 GB, free: 15.08 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.7617, allocations: 2.123 MB / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.7631, allocations: 1.309 MB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.7641, allocations: 0.8445 MB / 1.19 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.7652, allocations: 0.9221 MB / 1.191 GB, free: 9.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.7653, allocations: 112 kB / 1.191 GB, free: 9.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.7672, allocations: 1.173 MB / 1.193 GB, free: 8.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.7676, allocations: 0.522 MB / 1.193 GB, free: 8.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006818/0.7683, allocations: 0.7849 MB / 1.194 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.7707, allocations: 2.422 MB / 1.196 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7707, allocations: 3.938 kB / 1.196 GB, free: 4.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7707, allocations: 0 / 1.196 GB, free: 4.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.7708, allocations: 0 / 1.196 GB, free: 4.812 MB / 0.92 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.002591/0.7734, allocations: 1.867 MB / 1.198 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7734, allocations: 12.62 kB / 1.198 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.7736, allocations: 219.4 kB / 1.198 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.778, allocations: 0.6698 MB / 1.199 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.7797, allocations: 0.9965 MB / 1.2 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.7798, allocations: 98.89 kB / 1.2 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.78, allocations: 132.3 kB / 1.2 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.783, allocations: 2.206 MB / 1.202 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.783, allocations: 23.8 kB / 1.202 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.7832, allocations: 59.97 kB / 1.202 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.7834, allocations: 162.3 kB / 1.203 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.7863, allocations: 1.871 MB / 1.204 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.7981, allocations: 12.43 MB / 1.217 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.8025, allocations: 1.958 MB / 1.218 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/0.8034, allocations: 0.6128 MB / 1.219 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.8036, allocations: 110 kB / 1.219 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.8037, allocations: 51.5 kB / 1.219 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 2.359e-05/0.8037, allocations: 0 / 1.219 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.006083/0.8098, allocations: 3.702 MB / 1.223 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.8099, allocations: 64.41 kB / 1.223 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.811, allocations: 0.9203 MB / 1.224 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.811, allocations: 41.7 kB / 1.224 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.8115, allocations: 0.7314 MB / 1.225 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.8118, allocations: 382.5 kB / 1.225 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.8122, allocations: 299.2 kB / 1.225 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.8123, allocations: 301.1 kB / 1.225 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008872/0.8131, allocations: 0.6129 MB / 1.226 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.8144, allocations: 1.106 MB / 1.227 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.8165, allocations: 1.832 MB / 1.229 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.8166, allocations: 4 kB / 1.229 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003238/0.8198, allocations: 2.1 MB / 1.231 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.8198, allocations: 20.05 kB / 1.231 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.8199, allocations: 16 kB / 1.231 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007875/0.8207, allocations: 254.6 kB / 1.231 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.8219, allocations: 375.4 kB / 1.232 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008051/0.83, allocations: 11.58 MB / 1.243 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.8312, allocations: 127.8 kB / 1.243 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.8313, allocations: 71.98 kB / 1.243 GB, free: 1.668 MB / 0.9669 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.0006165/0.8319, allocations: 402.7 kB / 1.243 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.8322, allocations: 130.5 kB / 1.244 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.835, allocations: 1.677 MB / 1.245 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.835, allocations: 15.98 kB / 1.245 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.835, allocations: 8 kB / 1.245 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.8351, allocations: 3.984 kB / 1.245 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/0.8401, allocations: 3.287 MB / 1.248 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.8401, allocations: 4 kB / 1.249 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/0.8409, allocations: 219.6 kB / 1.249 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/0.8417, allocations: 251.2 kB / 1.249 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/0.8417, allocations: 31.92 kB / 1.249 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007988/0.8497, allocations: 11.57 MB / 1.26 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.8498, allocations: 7.984 kB / 1.26 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.8524, allocations: 1.8 MB / 1.262 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.853, allocations: 307.4 kB / 1.262 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.8532, allocations: 31.98 kB / 1.262 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.854, allocations: 87.88 kB / 1.262 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.8542, allocations: 104.6 kB / 1.263 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.8543, allocations: 32 kB / 1.263 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007886/0.8551, allocations: 0.6177 MB / 1.263 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8551, allocations: 0 / 1.263 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001416/0.8565, allocations: 396 kB / 1.264 GB, free: 11.25 MB / 0.9981 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.002889/0.8594, allocations: 2.386 MB / 1.266 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.863, allocations: 2.501 MB / 1.268 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.863, allocations: 0 / 1.268 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.8653, allocations: 1.629 MB / 1.27 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.8674, allocations: 356.8 kB / 1.27 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.8833, allocations: 11.48 MB / 1.281 GB, free: 7.855 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.8842, allocations: 1.327 MB / 1.283 GB, free: 6.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008953/0.8851, allocations: 367.3 kB / 1.283 GB, free: 6.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/0.8858, allocations: 0.5344 MB / 1.284 GB, free: 5.598 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.8858, allocations: 0 / 1.284 GB, free: 5.598 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08661/0.9724, allocations: 28.28 MB / 1.311 GB, free: 9.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.66, allocations: 18.38 kB / 1.311 GB, free: 9.656 MB / 1.045 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches