Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_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.005444/0.005444, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001526/0.001526, allocations: 189.4 kB / 16.67 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 63.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.7328, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006372/0.7392, allocations: 4.275 MB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005318/0.7445, allocations: 2.392 MB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.7448, allocations: 15.88 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.7459, allocations: 367.9 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007863/0.7467, allocations: 374.2 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.7475, allocations: 320.7 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.7483, allocations: 0.6789 MB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.7488, allocations: 258 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.7491, allocations: 255 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.7495, allocations: 266.9 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.7496, allocations: 28 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.7503, allocations: 435 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.7505, allocations: 135.6 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.7507, allocations: 250.6 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.7517, allocations: 0.7312 MB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7517, allocations: 0 / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7517, allocations: 0 / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.7517, allocations: 4 kB / 1.177 GB, free: 9.008 MB / 0.9044 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.001255/0.7529, allocations: 0.8018 MB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.753, allocations: 16.92 kB / 1.177 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.886e-05/0.7531, allocations: 78.66 kB / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.7545, allocations: 188.3 kB / 1.178 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.7552, allocations: 444.8 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.7552, allocations: 21.38 kB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.7553, allocations: 40.36 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.7563, allocations: 0.6508 MB / 1.179 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.7563, allocations: 11.89 kB / 1.179 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.7563, allocations: 15.98 kB / 1.179 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.392e-05/0.7564, allocations: 51.95 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.7572, allocations: 499.3 kB / 1.179 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.761, allocations: 3.775 MB / 1.183 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.7628, allocations: 0.6366 MB / 1.184 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.7631, allocations: 178.5 kB / 1.184 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.7632, allocations: 11.98 kB / 1.184 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.7632, allocations: 46.42 kB / 1.184 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.7632, allocations: 0 / 1.184 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002448/0.7657, allocations: 1.287 MB / 1.185 GB, free: 15.72 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.7657, allocations: 110.9 kB / 1.185 GB, free: 15.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.7662, allocations: 401.8 kB / 1.186 GB, free: 15.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.7662, allocations: 29.7 kB / 1.186 GB, free: 15.15 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.7664, allocations: 288.2 kB / 1.186 GB, free: 14.86 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.7666, allocations: 126.9 kB / 1.186 GB, free: 14.74 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.7667, allocations: 102.2 kB / 1.186 GB, free: 14.63 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.7669, allocations: 358.8 kB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.7672, allocations: 173 kB / 1.187 GB, free: 14.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.7676, allocations: 371.3 kB / 1.187 GB, free: 13.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.7684, allocations: 0.5987 MB / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7685, allocations: 0 / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001137/0.7696, allocations: 0.6793 MB / 1.188 GB, free: 12.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7696, allocations: 8 kB / 1.188 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7696, allocations: 12.09 kB / 1.188 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.77, allocations: 94.44 kB / 1.188 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.7704, allocations: 111.8 kB / 1.188 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.7742, allocations: 4.352 MB / 1.193 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.7746, allocations: 32.14 kB / 1.193 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.7746, allocations: 27.98 kB / 1.193 GB, free: 7.199 MB / 0.92 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.0002471/0.7749, allocations: 202.1 kB / 1.193 GB, free: 6.992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.775, allocations: 51.67 kB / 1.193 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/0.776, allocations: 0.5186 MB / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.776, allocations: 4 kB / 1.194 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.776, allocations: 0 / 1.194 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.776, allocations: 4 kB / 1.194 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.778, allocations: 1.276 MB / 1.195 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.778, allocations: 7.938 kB / 1.195 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.7782, allocations: 64 kB / 1.195 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.7785, allocations: 94.72 kB / 1.195 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.7786, allocations: 8 kB / 1.195 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.7823, allocations: 4.337 MB / 1.199 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7824, allocations: 4 kB / 1.199 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.7834, allocations: 0.7822 MB / 1.2 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.7836, allocations: 152.8 kB / 1.2 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.7837, allocations: 19.94 kB / 1.2 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.784, allocations: 19.98 kB / 1.2 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.7841, allocations: 43.83 kB / 1.2 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.7841, allocations: 8 kB / 1.2 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003307/0.7844, allocations: 283.1 kB / 1.2 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7845, allocations: 0 / 1.2 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000677/0.7851, allocations: 120 kB / 1.201 GB, free: 14.6 MB / 0.9356 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.001338/0.7865, allocations: 1.331 MB / 1.202 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.7878, allocations: 0.8136 MB / 1.203 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7878, allocations: 0 / 1.203 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.7886, allocations: 0.5445 MB / 1.203 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.7896, allocations: 143.7 kB / 1.203 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.7956, allocations: 4.559 MB / 1.208 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.7961, allocations: 0.8663 MB / 1.209 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.7964, allocations: 100.5 kB / 1.209 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.7967, allocations: 159.4 kB / 1.209 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.7967, allocations: 4 kB / 1.209 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.8399, allocations: 10.02 MB / 1.219 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.3, allocations: 3.859 kB / 1.219 GB, free: 11.75 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches