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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 152 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.001865/0.001865, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.342/2.342, allocations: 390.3 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5378, allocations: 140.4 MB / 0.9497 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004637/0.5425, allocations: 4.296 MB / 0.9539 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.5453, allocations: 2.365 MB / 0.9562 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.5455, allocations: 17.09 kB / 0.9562 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.5464, allocations: 376.7 kB / 0.9566 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.5471, allocations: 370.9 kB / 0.957 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.5476, allocations: 323.1 kB / 0.9573 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.5481, allocations: 0.6736 MB / 0.9579 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.5485, allocations: 265.5 kB / 0.9582 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.5487, allocations: 256.6 kB / 0.9584 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.549, allocations: 268.3 kB / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.549, allocations: 29.94 kB / 0.9587 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.5496, allocations: 431.4 kB / 0.9591 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5497, allocations: 139.6 kB / 0.9592 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.5499, allocations: 235.8 kB / 0.9595 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.5506, allocations: 0.7218 MB / 0.9602 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5506, allocations: 0 / 0.9602 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5506, allocations: 11.88 kB / 0.9602 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5506, allocations: 1.281 kB / 0.9602 GB, free: 1.605 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.0009052/0.5515, allocations: 0.7863 MB / 0.961 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.5516, allocations: 9.219 kB / 0.961 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.5517, allocations: 77.42 kB / 0.961 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.553, allocations: 187.5 kB / 0.9612 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.5534, allocations: 406.7 kB / 0.9616 GB, free: 428 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.5534, allocations: 22.38 kB / 0.9616 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.5535, allocations: 37.92 kB / 0.9617 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.5542, allocations: 0.6536 MB / 0.9623 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5542, allocations: 10.3 kB / 0.9623 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.5543, allocations: 17.69 kB / 0.9623 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/0.5543, allocations: 52.94 kB / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.555, allocations: 0.4908 MB / 0.9629 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.558, allocations: 3.787 MB / 0.9666 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.5597, allocations: 0.6274 MB / 0.9672 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.5599, allocations: 185.2 kB / 0.9673 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.5599, allocations: 3.062 kB / 0.9673 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.56, allocations: 37.31 kB / 0.9674 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.56, allocations: 0 / 0.9674 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002162/0.5621, allocations: 1.283 MB / 0.9686 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5622, allocations: 107.2 kB / 0.9687 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.5626, allocations: 396.9 kB / 0.9691 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.5626, allocations: 30.86 kB / 0.9691 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5628, allocations: 290.2 kB / 0.9694 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.5629, allocations: 114.4 kB / 0.9695 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.563, allocations: 102.5 kB / 0.9696 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5633, allocations: 356.2 kB / 0.97 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5635, allocations: 175.7 kB / 0.9701 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.5639, allocations: 374.4 kB / 0.9705 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.5645, allocations: 0.594 MB / 0.9711 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5645, allocations: 2.125 kB / 0.9711 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001028/0.5656, allocations: 0.6759 MB / 0.9717 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5656, allocations: 7.625 kB / 0.9717 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5656, allocations: 7.719 kB / 0.9718 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.5659, allocations: 92.39 kB / 0.9718 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.5663, allocations: 114.8 kB / 0.9719 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.5694, allocations: 4.335 MB / 0.9762 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5698, allocations: 30.16 kB / 0.9762 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.5698, allocations: 28.44 kB / 0.9762 GB, free: 3.609 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.0002225/0.5701, allocations: 205.4 kB / 0.9764 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5702, allocations: 50.62 kB / 0.9765 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008756/0.5711, allocations: 0.5147 MB / 0.977 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5711, allocations: 5.188 kB / 0.977 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5711, allocations: 5.453 kB / 0.977 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5711, allocations: 5.266 kB / 0.977 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.5728, allocations: 1.291 MB / 0.9783 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5728, allocations: 2.656 kB / 0.9783 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.5731, allocations: 64.92 kB / 0.9783 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.5733, allocations: 86.47 kB / 0.9784 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.5733, allocations: 10.06 kB / 0.9784 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.5765, allocations: 4.344 MB / 0.9827 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5765, allocations: 3.406 kB / 0.9827 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.5774, allocations: 0.7766 MB / 0.9834 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.5776, allocations: 156 kB / 0.9836 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.5777, allocations: 12.78 kB / 0.9836 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.578, allocations: 22.84 kB / 0.9836 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.5781, allocations: 37.88 kB / 0.9836 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.5781, allocations: 9.312 kB / 0.9836 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002882/0.5784, allocations: 289.5 kB / 0.9839 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5784, allocations: 0 / 0.9839 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006678/0.5791, allocations: 120.4 kB / 0.984 GB, free: 12.59 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.001086/0.5801, allocations: 1.328 MB / 0.9853 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.5813, allocations: 0.8286 MB / 0.9861 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5813, allocations: 0 / 0.9861 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.5821, allocations: 0.5557 MB / 0.9867 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.5829, allocations: 130.5 kB / 0.9868 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.5879, allocations: 4.586 MB / 0.9913 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.5883, allocations: 0.8585 MB / 0.9921 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000268/0.5886, allocations: 112.5 kB / 0.9922 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5888, allocations: 155.4 kB / 0.9924 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.5888, allocations: 0 / 0.9924 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.6221, allocations: 9.875 MB / 1.002 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.83, allocations: 0 / 1.002 GB, free: 10.2 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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