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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 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.001255/0.001255, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.71/2.71, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.89 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.596, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01274/0.6088, allocations: 11.08 MB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008935/0.6178, allocations: 5.792 MB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.6189, allocations: 55.62 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004236/0.6232, allocations: 1.723 MB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.6263, allocations: 1.155 MB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.6287, allocations: 0.8101 MB / 1.038 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003194/0.6319, allocations: 2.123 MB / 1.04 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.6337, allocations: 1.317 MB / 1.041 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.6351, allocations: 0.8368 MB / 1.042 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.6366, allocations: 0.9065 MB / 1.043 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.6369, allocations: 116 kB / 1.043 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.6391, allocations: 1.177 MB / 1.044 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000604/0.6398, allocations: 0.522 MB / 1.044 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.6412, allocations: 0.7849 MB / 1.045 GB, free: 5.988 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003932/0.6451, allocations: 2.391 MB / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6452, allocations: 0 / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6452, allocations: 0 / 1.047 GB, free: 3.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.178e-05/0.6452, allocations: 4 kB / 1.047 GB, free: 3.586 MB / 0.795 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.003541/0.6488, allocations: 1.871 MB / 1.049 GB, free: 1.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6488, allocations: 8.031 kB / 1.049 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002837/0.6491, allocations: 211.4 kB / 1.05 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.6537, allocations: 0.6699 MB / 1.05 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.6554, allocations: 0.9107 MB / 1.051 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.6555, allocations: 90.91 kB / 1.051 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.6558, allocations: 128.3 kB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.6591, allocations: 2.206 MB / 1.053 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.6592, allocations: 23.78 kB / 1.053 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.6593, allocations: 55.97 kB / 1.054 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.6595, allocations: 166.3 kB / 1.054 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.6626, allocations: 1.871 MB / 1.055 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.6746, allocations: 12.47 MB / 1.068 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/0.6789, allocations: 1.961 MB / 1.07 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000898/0.6798, allocations: 0.6166 MB / 1.07 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.68, allocations: 102.1 kB / 1.07 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.68, allocations: 47.5 kB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.68, allocations: 0 / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.005993/0.686, allocations: 3.706 MB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.6861, allocations: 64.41 kB / 1.074 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6872, allocations: 0.9165 MB / 1.075 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.6872, allocations: 45.7 kB / 1.075 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.6877, allocations: 0.7354 MB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.688, allocations: 378.5 kB / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.6884, allocations: 287.2 kB / 1.076 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.6885, allocations: 309.1 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.6894, allocations: 0.609 MB / 1.077 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.6906, allocations: 1.109 MB / 1.078 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.6927, allocations: 1.828 MB / 1.08 GB, free: 228 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.6928, allocations: 8 kB / 1.08 GB, free: 220 kB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00343/0.6962, allocations: 2.104 MB / 1.082 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.6962, allocations: 12 kB / 1.082 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.6963, allocations: 16 kB / 1.082 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/0.6971, allocations: 267 kB / 1.082 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6984, allocations: 371.4 kB / 1.083 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008907/0.7073, allocations: 11.58 MB / 1.094 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.7085, allocations: 131.8 kB / 1.094 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.7087, allocations: 68.12 kB / 1.094 GB, free: 0.5039 MB / 0.8419 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.0006697/0.7094, allocations: 412.9 kB / 1.095 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.7097, allocations: 130.6 kB / 1.095 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.7124, allocations: 1.673 MB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7125, allocations: 16 kB / 1.096 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7125, allocations: 7.984 kB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.7125, allocations: 3.984 kB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.7173, allocations: 3.295 MB / 1.1 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.7173, allocations: 4 kB / 1.1 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.7182, allocations: 224.3 kB / 1.1 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007009/0.7189, allocations: 246.6 kB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.719, allocations: 35.94 kB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007981/0.727, allocations: 11.56 MB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.727, allocations: 7.938 kB / 1.111 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.7297, allocations: 1.803 MB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.7303, allocations: 307.4 kB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.7306, allocations: 31.98 kB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.7314, allocations: 91.88 kB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.7316, allocations: 100.6 kB / 1.114 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.7317, allocations: 39.94 kB / 1.114 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000796/0.7325, allocations: 0.6138 MB / 1.114 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7325, allocations: 0 / 1.114 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00141/0.7339, allocations: 400 kB / 1.115 GB, free: 10.08 MB / 0.8731 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.002904/0.7368, allocations: 2.39 MB / 1.117 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004277/0.7411, allocations: 2.875 MB / 1.12 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7411, allocations: 0 / 1.12 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.7432, allocations: 1.622 MB / 1.121 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.7451, allocations: 355.7 kB / 1.122 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.7619, allocations: 12.03 MB / 1.134 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.7632, allocations: 1.327 MB / 1.135 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001081/0.7643, allocations: 351.4 kB / 1.135 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.765, allocations: 0.5344 MB / 1.136 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of SimCode: time 6.81e-07/0.765, allocations: 0 / 1.136 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09736/0.8624, allocations: 27.9 MB / 1.163 GB, free: 7.766 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/10.78, allocations: 4 kB / 1.163 GB, free: 7.762 MB / 0.92 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