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.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.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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001182/0.001182, allocations: 192.4 kB / 16.14 MB, free: 6.719 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.2/2.2, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6472, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004957/0.6522, allocations: 4.315 MB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.6551, allocations: 2.391 MB / 0.9556 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.6553, allocations: 17 kB / 0.9556 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.6563, allocations: 357.8 kB / 0.956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.6568, allocations: 343.5 kB / 0.9563 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.6574, allocations: 289.8 kB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.6581, allocations: 0.8616 MB / 0.9574 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.6585, allocations: 262 kB / 0.9577 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.6588, allocations: 225.4 kB / 0.9579 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.6591, allocations: 273.7 kB / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.6592, allocations: 19.5 kB / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.6599, allocations: 0.5336 MB / 0.9587 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.66, allocations: 132.4 kB / 0.9588 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.6602, allocations: 227.5 kB / 0.959 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.6609, allocations: 0.7534 MB / 0.9597 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6609, allocations: 4 kB / 0.9598 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6609, allocations: 0 / 0.9598 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.661, allocations: 0 / 0.9598 GB, free: 1.23 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.0009743/0.6619, allocations: 0.7793 MB / 0.9605 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.662, allocations: 13.53 kB / 0.9605 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.6621, allocations: 80.75 kB / 0.9606 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.6634, allocations: 187.6 kB / 0.9608 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.6638, allocations: 402.7 kB / 0.9612 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.6639, allocations: 27.27 kB / 0.9612 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.6639, allocations: 30.22 kB / 0.9612 GB, free: 24 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.6648, allocations: 0.6566 MB / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.6649, allocations: 6.188 kB / 0.9619 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.6649, allocations: 19.84 kB / 0.9619 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.665, allocations: 50.23 kB / 0.9619 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/0.6657, allocations: 0.4905 MB / 0.9624 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.6688, allocations: 3.79 MB / 0.9661 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.6705, allocations: 0.6403 MB / 0.9667 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.6707, allocations: 173.2 kB / 0.9669 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.6707, allocations: 3.312 kB / 0.9669 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.6708, allocations: 41.52 kB / 0.9669 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.6708, allocations: 0 / 0.9669 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002327/0.6731, allocations: 1.27 MB / 0.9682 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.6732, allocations: 107.2 kB / 0.9683 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.6736, allocations: 400.3 kB / 0.9687 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.6737, allocations: 35.17 kB / 0.9687 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.6738, allocations: 286.1 kB / 0.969 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.6739, allocations: 113.7 kB / 0.9691 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.6741, allocations: 99.56 kB / 0.9692 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6742, allocations: 358.3 kB / 0.9695 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.6745, allocations: 179.1 kB / 0.9697 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.6749, allocations: 375.4 kB / 0.9701 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.6755, allocations: 0.5935 MB / 0.9706 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6755, allocations: 1.406 kB / 0.9706 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001063/0.6766, allocations: 0.6763 MB / 0.9713 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6766, allocations: 8.062 kB / 0.9713 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.6767, allocations: 6.938 kB / 0.9713 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.677, allocations: 96.97 kB / 0.9714 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.6774, allocations: 109.8 kB / 0.9715 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.6805, allocations: 4.041 MB / 0.9755 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.6808, allocations: 30.47 kB / 0.9755 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.6809, allocations: 23.22 kB / 0.9755 GB, free: 3.539 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.0002198/0.6811, allocations: 197.7 kB / 0.9757 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6812, allocations: 55.94 kB / 0.9757 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/0.6821, allocations: 0.5088 MB / 0.9762 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6821, allocations: 5.281 kB / 0.9762 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6821, allocations: 4.875 kB / 0.9763 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6821, allocations: 9.234 kB / 0.9763 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.6839, allocations: 1.283 MB / 0.9775 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6839, allocations: 2.75 kB / 0.9775 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.6842, allocations: 65.02 kB / 0.9776 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.6845, allocations: 86.23 kB / 0.9777 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.6845, allocations: 18.08 kB / 0.9777 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.6875, allocations: 4.022 MB / 0.9816 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.6875, allocations: 7.406 kB / 0.9816 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.6884, allocations: 0.775 MB / 0.9824 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.6886, allocations: 152.8 kB / 0.9825 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.6886, allocations: 17.25 kB / 0.9825 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.6889, allocations: 21.88 kB / 0.9826 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.689, allocations: 38.41 kB / 0.9826 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.689, allocations: 9.594 kB / 0.9826 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003117/0.6893, allocations: 284.6 kB / 0.9829 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6894, allocations: 0 / 0.9829 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006743/0.69, allocations: 125.1 kB / 0.983 GB, free: 12.84 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.00118/0.6912, allocations: 1.324 MB / 0.9843 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.6924, allocations: 0.8049 MB / 0.9851 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6924, allocations: 0 / 0.9851 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.6931, allocations: 0.549 MB / 0.9856 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/0.694, allocations: 120.5 kB / 0.9857 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.6993, allocations: 4.756 MB / 0.9904 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.6997, allocations: 0.8625 MB / 0.9912 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.7, allocations: 100.5 kB / 0.9913 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.7002, allocations: 151.4 kB / 0.9914 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.7002, allocations: 4 kB / 0.9914 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.7641, allocations: 9.546 MB / 1.001 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.7643, allocations: 233.8 kB / 1.001 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.532, allocations: 0 / 1.001 GB, free: 10.69 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