Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.0008636/0.0008635, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006175/0.006175, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.485, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008256/0.4933, allocations: 10.54 MB / 0.9655 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007458/0.5008, allocations: 5.777 MB / 0.9711 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.5013, allocations: 45.31 kB / 0.9712 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.5018, allocations: 240 kB / 0.9714 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.5035, allocations: 1.064 MB / 0.9724 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.5048, allocations: 0.7397 MB / 0.9732 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.5069, allocations: 2.856 MB / 0.9759 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/0.5103, allocations: 2.347 MB / 0.9782 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.511, allocations: 0.6957 MB / 0.9789 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.5118, allocations: 0.8535 MB / 0.9797 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.5119, allocations: 58.31 kB / 0.9798 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.5137, allocations: 1.44 MB / 0.9812 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.514, allocations: 466.5 kB / 0.9817 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.5146, allocations: 0.7241 MB / 0.9824 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.5164, allocations: 2.412 MB / 0.9847 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5165, allocations: 8 kB / 0.9847 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5165, allocations: 0 / 0.9847 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.5165, allocations: 0 / 0.9847 GB, free: 0.9805 MB / 0.7325 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.001914/0.5184, allocations: 1.599 MB / 0.9863 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5184, allocations: 12.03 kB / 0.9863 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.5186, allocations: 215.4 kB / 0.9865 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.5225, allocations: 0.6738 MB / 0.9872 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5236, allocations: 0.9185 MB / 0.9881 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.5236, allocations: 90.84 kB / 0.9881 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.5238, allocations: 128.3 kB / 0.9883 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.5263, allocations: 2.214 MB / 0.9904 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.5263, allocations: 19.78 kB / 0.9904 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.5264, allocations: 51.98 kB / 0.9905 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.5266, allocations: 162.3 kB / 0.9906 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.529, allocations: 1.875 MB / 0.9925 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00897/0.538, allocations: 12.48 MB / 1.005 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.5416, allocations: 1.964 MB / 1.007 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.5423, allocations: 0.6089 MB / 1.007 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.5425, allocations: 102.1 kB / 1.007 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.5425, allocations: 47.5 kB / 1.007 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.206e-06/0.5425, allocations: 0 / 1.007 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.004863/0.5474, allocations: 3.718 MB / 1.011 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.5474, allocations: 68.39 kB / 1.011 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.5483, allocations: 0.9126 MB / 1.012 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.5483, allocations: 45.7 kB / 1.012 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.5487, allocations: 0.7237 MB / 1.013 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.5489, allocations: 390.4 kB / 1.013 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.5491, allocations: 129.6 kB / 1.013 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.5492, allocations: 305.1 kB / 1.013 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007708/0.5499, allocations: 0.609 MB / 1.014 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.551, allocations: 1.109 MB / 1.015 GB, free: 60 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.5529, allocations: 1.828 MB / 1.017 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5529, allocations: 4 kB / 1.017 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002732/0.5556, allocations: 2.104 MB / 1.019 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5557, allocations: 15.98 kB / 1.019 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5557, allocations: 20.16 kB / 1.019 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.5564, allocations: 250.7 kB / 1.019 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.5575, allocations: 375.4 kB / 1.02 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.5639, allocations: 10.77 MB / 1.03 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.5648, allocations: 123.8 kB / 1.03 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.5649, allocations: 71.98 kB / 1.03 GB, free: 15.18 MB / 0.795 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.0004403/0.5653, allocations: 407.3 kB / 1.031 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.5655, allocations: 126.5 kB / 1.031 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.5679, allocations: 1.685 MB / 1.032 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.568, allocations: 15.94 kB / 1.032 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.568, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.568, allocations: 3.984 kB / 1.032 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.572, allocations: 3.287 MB / 1.036 GB, free: 9.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.572, allocations: 8 kB / 1.036 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.5728, allocations: 219.6 kB / 1.036 GB, free: 9.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00062/0.5734, allocations: 255 kB / 1.036 GB, free: 8.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.5735, allocations: 24 kB / 1.036 GB, free: 8.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/0.5804, allocations: 10.75 MB / 1.047 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.5804, allocations: 11.88 kB / 1.047 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.5826, allocations: 1.796 MB / 1.048 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.583, allocations: 323.4 kB / 1.049 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.5831, allocations: 20 kB / 1.049 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.5838, allocations: 99.8 kB / 1.049 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.584, allocations: 96.7 kB / 1.049 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.584, allocations: 36 kB / 1.049 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006388/0.5847, allocations: 0.6138 MB / 1.05 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5847, allocations: 4 kB / 1.05 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001076/0.5858, allocations: 396 kB / 1.05 GB, free: 9.625 MB / 0.8106 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.002422/0.5882, allocations: 2.387 MB / 1.052 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.591, allocations: 2.492 MB / 1.055 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.591, allocations: 0 / 1.055 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.5928, allocations: 1.626 MB / 1.056 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.5948, allocations: 335.8 kB / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.6083, allocations: 12.61 MB / 1.069 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007819/0.6091, allocations: 1.331 MB / 1.07 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008374/0.6099, allocations: 363.3 kB / 1.071 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.6105, allocations: 0.5344 MB / 1.071 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.6105, allocations: 0 / 1.071 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.083/4.694, allocations: 26.74 MB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/4.694, allocations: 248 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/7.2, allocations: 0 / 1.097 GB, free: 8.051 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches