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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001729/0.001729, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.348/2.348, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.09 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5826, allocations: 140.4 MB / 0.9491 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0101/0.5928, allocations: 11.05 MB / 0.9598 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008638/0.6015, allocations: 5.851 MB / 0.9656 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.6027, allocations: 47.97 kB / 0.9656 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.6068, allocations: 1.617 MB / 0.9672 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.6102, allocations: 1.069 MB / 0.9682 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.6126, allocations: 0.749 MB / 0.969 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003746/0.6164, allocations: 2.851 MB / 0.9717 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.6186, allocations: 1.304 MB / 0.973 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.62, allocations: 0.7657 MB / 0.9738 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.6218, allocations: 0.92 MB / 0.9747 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.6221, allocations: 82.72 kB / 0.9747 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.6249, allocations: 1.467 MB / 0.9762 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006878/0.6256, allocations: 0.4886 MB / 0.9766 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.6269, allocations: 0.7531 MB / 0.9774 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.6308, allocations: 2.454 MB / 0.9798 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6308, allocations: 0 / 0.9798 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6308, allocations: 0 / 0.9798 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.101e-05/0.6309, allocations: 0 / 0.9798 GB, free: 2.703 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.003177/0.6341, allocations: 1.867 MB / 0.9816 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6341, allocations: 8.031 kB / 0.9816 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/0.6344, allocations: 219.4 kB / 0.9818 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.6389, allocations: 0.666 MB / 0.9825 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.6405, allocations: 0.9184 MB / 0.9834 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.6406, allocations: 98.89 kB / 0.9835 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.6409, allocations: 124.3 kB / 0.9836 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.644, allocations: 2.21 MB / 0.9857 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.27e-05/0.6441, allocations: 15.78 kB / 0.9858 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.6442, allocations: 55.98 kB / 0.9858 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.6444, allocations: 162.3 kB / 0.986 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.6474, allocations: 1.871 MB / 0.9878 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.659, allocations: 12.49 MB / 1 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.6633, allocations: 1.965 MB / 1.002 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.6641, allocations: 0.605 MB / 1.002 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.6643, allocations: 102.1 kB / 1.003 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6644, allocations: 47.5 kB / 1.003 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 3.135e-06/0.6644, allocations: 0 / 1.003 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006182/0.6706, allocations: 3.706 MB / 1.006 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.6706, allocations: 64.41 kB / 1.006 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.6718, allocations: 0.9243 MB / 1.007 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.6718, allocations: 41.7 kB / 1.007 GB, free: 5.023 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.6723, allocations: 0.7236 MB / 1.008 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.6726, allocations: 394.5 kB / 1.008 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.673, allocations: 287.2 kB / 1.009 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.6731, allocations: 301.1 kB / 1.009 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009374/0.674, allocations: 0.6129 MB / 1.01 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.6753, allocations: 1.109 MB / 1.011 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.6776, allocations: 1.828 MB / 1.012 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.6776, allocations: 8 kB / 1.012 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003617/0.6812, allocations: 2.108 MB / 1.014 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.6813, allocations: 12 kB / 1.014 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.6813, allocations: 16 kB / 1.014 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008858/0.6822, allocations: 258.7 kB / 1.015 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6835, allocations: 371.4 kB / 1.015 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/0.6914, allocations: 10.76 MB / 1.026 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6926, allocations: 123.8 kB / 1.026 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.6928, allocations: 71.98 kB / 1.026 GB, free: 500 kB / 0.7794 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.000673/0.6935, allocations: 411.2 kB / 1.026 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.6937, allocations: 130.6 kB / 1.026 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.6965, allocations: 1.681 MB / 1.028 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6965, allocations: 12 kB / 1.028 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6965, allocations: 4 kB / 1.028 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6965, allocations: 7.969 kB / 1.028 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.7016, allocations: 3.287 MB / 1.031 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7016, allocations: 4 kB / 1.031 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.7024, allocations: 219.6 kB / 1.031 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/0.7032, allocations: 251.1 kB / 1.032 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.7032, allocations: 24 kB / 1.032 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007973/0.7112, allocations: 10.74 MB / 1.042 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7113, allocations: 8.25 kB / 1.042 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.7139, allocations: 1.796 MB / 1.044 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.7145, allocations: 315.3 kB / 1.044 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.7147, allocations: 27.98 kB / 1.044 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.7154, allocations: 99.75 kB / 1.044 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.7155, allocations: 96.7 kB / 1.044 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.7156, allocations: 32 kB / 1.044 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007447/0.7164, allocations: 0.6177 MB / 1.045 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7164, allocations: 0 / 1.045 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00134/0.7177, allocations: 392 kB / 1.045 GB, free: 10.96 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.002722/0.7205, allocations: 2.386 MB / 1.048 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.7239, allocations: 2.489 MB / 1.05 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7239, allocations: 4 kB / 1.05 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.7259, allocations: 1.63 MB / 1.052 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.7275, allocations: 332.7 kB / 1.052 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.745, allocations: 12.59 MB / 1.064 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.7461, allocations: 1.331 MB / 1.066 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001054/0.7472, allocations: 363.3 kB / 1.066 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/0.7479, allocations: 0.5344 MB / 1.067 GB, free: 4 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.7479, allocations: 0 / 1.067 GB, free: 4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.7933, allocations: 27.09 MB / 1.093 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.7935, allocations: 246.8 kB / 1.093 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.146, allocations: 3.5 kB / 1.093 GB, free: 9.031 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