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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 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.001067/0.001067, allocations: 198 kB / 16.54 MB, free: 6.672 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.567/2.567, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 63.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5878, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01437/0.6022, allocations: 11.09 MB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009434/0.6117, allocations: 5.785 MB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.6132, allocations: 55.62 kB / 1.034 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.6177, allocations: 1.727 MB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.6209, allocations: 1.143 MB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.6231, allocations: 0.8183 MB / 1.038 GB, free: 13.79 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002648/0.6258, allocations: 2.119 MB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.6274, allocations: 1.313 MB / 1.041 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.6286, allocations: 0.8407 MB / 1.042 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.63, allocations: 0.9065 MB / 1.043 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.6303, allocations: 112 kB / 1.043 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.6326, allocations: 1.177 MB / 1.044 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005968/0.6332, allocations: 0.522 MB / 1.044 GB, free: 6.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009853/0.6342, allocations: 0.7927 MB / 1.045 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.6374, allocations: 2.387 MB / 1.047 GB, free: 3.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6374, allocations: 3.984 kB / 1.047 GB, free: 3.566 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.816e-06/0.6374, allocations: 0 / 1.047 GB, free: 3.566 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.055e-05/0.6375, allocations: 3.938 kB / 1.047 GB, free: 3.562 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.003163/0.6407, allocations: 1.864 MB / 1.049 GB, free: 1.641 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6407, allocations: 12.03 kB / 1.049 GB, free: 1.629 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/0.641, allocations: 211.4 kB / 1.05 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.6456, allocations: 0.6699 MB / 1.05 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6472, allocations: 0.9146 MB / 1.051 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.6473, allocations: 90.91 kB / 1.051 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.6476, allocations: 124.3 kB / 1.051 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.6507, allocations: 2.21 MB / 1.053 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.6508, allocations: 15.78 kB / 1.053 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.651, allocations: 59.98 kB / 1.054 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.6512, allocations: 162.2 kB / 1.054 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.6542, allocations: 1.875 MB / 1.055 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.6661, allocations: 12.49 MB / 1.068 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/0.6705, allocations: 1.957 MB / 1.07 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009116/0.6715, allocations: 0.605 MB / 1.07 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.6717, allocations: 106.1 kB / 1.07 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.6717, allocations: 47.5 kB / 1.07 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 4.228e-06/0.6717, allocations: 0 / 1.07 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006264/0.678, allocations: 3.706 MB / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.6781, allocations: 64.41 kB / 1.074 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6792, allocations: 0.9243 MB / 1.075 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.6793, allocations: 45.7 kB / 1.075 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.6798, allocations: 0.7198 MB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.6801, allocations: 394.5 kB / 1.076 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6805, allocations: 283.2 kB / 1.076 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.6806, allocations: 305.1 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009413/0.6815, allocations: 0.6129 MB / 1.077 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.6827, allocations: 1.109 MB / 1.078 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.685, allocations: 1.828 MB / 1.08 GB, free: 200 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.685, allocations: 11.98 kB / 1.08 GB, free: 188 kB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003415/0.6884, allocations: 2.096 MB / 1.082 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.6884, allocations: 12 kB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.6885, allocations: 16 kB / 1.082 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/0.6893, allocations: 258.8 kB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.6906, allocations: 375.4 kB / 1.083 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/0.6989, allocations: 11.58 MB / 1.094 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7002, allocations: 135.8 kB / 1.094 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.7004, allocations: 67.98 kB / 1.094 GB, free: 496 kB / 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.0006961/0.7011, allocations: 407.4 kB / 1.095 GB, free: 80 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.7014, allocations: 130.6 kB / 1.095 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.7042, allocations: 1.685 MB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.7042, allocations: 12 kB / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7043, allocations: 0 / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7043, allocations: 7.984 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.7093, allocations: 3.295 MB / 1.1 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7093, allocations: 4 kB / 1.1 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.7102, allocations: 227.6 kB / 1.1 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007048/0.7109, allocations: 247.3 kB / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.711, allocations: 35.92 kB / 1.1 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008109/0.7191, allocations: 11.55 MB / 1.111 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.7192, allocations: 15.88 kB / 1.111 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.7219, allocations: 1.803 MB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/0.7225, allocations: 307.3 kB / 1.113 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.7227, allocations: 28 kB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/0.7235, allocations: 87.88 kB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.7237, allocations: 100.6 kB / 1.114 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.7238, allocations: 39.98 kB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000779/0.7245, allocations: 0.6177 MB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7245, allocations: 0 / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001395/0.7259, allocations: 392 kB / 1.115 GB, free: 10.06 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.002883/0.7288, allocations: 2.392 MB / 1.117 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004329/0.7332, allocations: 2.883 MB / 1.12 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7332, allocations: 0 / 1.12 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.7353, allocations: 1.622 MB / 1.121 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.7371, allocations: 354.5 kB / 1.122 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.7534, allocations: 12.02 MB / 1.134 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7544, allocations: 1.331 MB / 1.135 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001087/0.7555, allocations: 363.3 kB / 1.135 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.7562, allocations: 0.5344 MB / 1.136 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of SimCode: time 6.62e-07/0.7563, allocations: 0 / 1.136 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6542/1.41, allocations: 27.89 MB / 1.163 GB, free: 7.738 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.75, allocations: 8.062 kB / 1.163 GB, free: 7.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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