Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.001319/0.001319, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001305/0.001305, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5169, allocations: 140.4 MB / 0.9492 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004252/0.5212, allocations: 4.307 MB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.5238, allocations: 2.361 MB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.5239, allocations: 17 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.5248, allocations: 350 kB / 0.9561 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.5253, allocations: 350.6 kB / 0.9564 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.5258, allocations: 293.4 kB / 0.9567 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.5263, allocations: 0.6765 MB / 0.9574 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.5267, allocations: 286.6 kB / 0.9576 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.5269, allocations: 256.2 kB / 0.9579 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.5272, allocations: 284.2 kB / 0.9582 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.5273, allocations: 29.97 kB / 0.9582 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.5278, allocations: 435.5 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.5279, allocations: 135.7 kB / 0.9587 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.5281, allocations: 239.4 kB / 0.959 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.5287, allocations: 0.7619 MB / 0.9597 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5287, allocations: 5 kB / 0.9597 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5287, allocations: 0 / 0.9597 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5287, allocations: 0 / 0.9597 GB, free: 1.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008666/0.5296, allocations: 0.7874 MB / 0.9605 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5296, allocations: 8.906 kB / 0.9605 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.5297, allocations: 78.03 kB / 0.9606 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.5309, allocations: 178.9 kB / 0.9607 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.5314, allocations: 411.1 kB / 0.9611 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5314, allocations: 26.23 kB / 0.9612 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.5315, allocations: 30.84 kB / 0.9612 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.5323, allocations: 0.66 MB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5323, allocations: 10.89 kB / 0.9618 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.5323, allocations: 25.41 kB / 0.9619 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/0.5324, allocations: 52.03 kB / 0.9619 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.5331, allocations: 499 kB / 0.9624 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.5361, allocations: 3.786 MB / 0.9661 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.5378, allocations: 0.627 MB / 0.9667 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.538, allocations: 182.1 kB / 0.9669 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.5381, allocations: 3.031 kB / 0.9669 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5381, allocations: 41.34 kB / 0.9669 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.5381, allocations: 0 / 0.9669 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002116/0.5402, allocations: 1.272 MB / 0.9682 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.5403, allocations: 114.1 kB / 0.9683 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.5407, allocations: 393.4 kB / 0.9686 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.5407, allocations: 30.8 kB / 0.9687 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5409, allocations: 290.9 kB / 0.9689 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.541, allocations: 113.5 kB / 0.9691 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.5411, allocations: 102.7 kB / 0.9692 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5413, allocations: 357.2 kB / 0.9695 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.5415, allocations: 175 kB / 0.9697 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.5419, allocations: 378.2 kB / 0.97 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5425, allocations: 0.5939 MB / 0.9706 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5425, allocations: 1.5 kB / 0.9706 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001006/0.5436, allocations: 0.6682 MB / 0.9713 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5436, allocations: 14.86 kB / 0.9713 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5436, allocations: 6.438 kB / 0.9713 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.5439, allocations: 100.7 kB / 0.9714 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.5443, allocations: 114.4 kB / 0.9715 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.5474, allocations: 4.339 MB / 0.9757 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.5477, allocations: 34.44 kB / 0.9758 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.5478, allocations: 23.97 kB / 0.9758 GB, free: 3.426 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002082/0.548, allocations: 200.5 kB / 0.976 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5481, allocations: 48.12 kB / 0.976 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.549, allocations: 0.5185 MB / 0.9765 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.549, allocations: 4.156 kB / 0.9765 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.549, allocations: 1.969 kB / 0.9765 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.549, allocations: 8.969 kB / 0.9765 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.5507, allocations: 1.278 MB / 0.9778 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5507, allocations: 4.094 kB / 0.9778 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5509, allocations: 64.52 kB / 0.9778 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.5512, allocations: 91.53 kB / 0.9779 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.5512, allocations: 8.156 kB / 0.9779 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.5543, allocations: 4.342 MB / 0.9822 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5544, allocations: 6.344 kB / 0.9822 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.5552, allocations: 0.7754 MB / 0.9829 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.5554, allocations: 152.7 kB / 0.9831 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.5554, allocations: 13.81 kB / 0.9831 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.5558, allocations: 25.38 kB / 0.9831 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5558, allocations: 39.19 kB / 0.9832 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.5558, allocations: 8.906 kB / 0.9832 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002701/0.5561, allocations: 281 kB / 0.9834 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5561, allocations: 0 / 0.9834 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006323/0.5568, allocations: 120.2 kB / 0.9836 GB, free: 12.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001081/0.5578, allocations: 1.336 MB / 0.9849 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.559, allocations: 0.8248 MB / 0.9857 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.559, allocations: 1.25 kB / 0.9857 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.5597, allocations: 0.5526 MB / 0.9862 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.5605, allocations: 144 kB / 0.9863 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.5655, allocations: 4.742 MB / 0.991 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.566, allocations: 0.8663 MB / 0.9918 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.5662, allocations: 104.5 kB / 0.9919 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.5664, allocations: 151.4 kB / 0.9921 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.5664, allocations: 0 / 0.9921 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.461/2.027, allocations: 9.823 MB / 1.002 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/2.027, allocations: 231.3 kB / 1.002 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/4.119, allocations: 0 / 1.002 GB, free: 9.883 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches