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.00561/0.00561, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001155/0.001155, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6929, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005261/0.6982, allocations: 4.287 MB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003549/0.7017, allocations: 2.377 MB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.7021, allocations: 19.81 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.7033, allocations: 374.2 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009317/0.7042, allocations: 386.2 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.705, allocations: 317.6 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.7058, allocations: 0.6828 MB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.7063, allocations: 266 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.7067, allocations: 258.9 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.7071, allocations: 266.9 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.7072, allocations: 28 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.7079, allocations: 427 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.7081, allocations: 143.5 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.7084, allocations: 234.7 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.7096, allocations: 0.7429 MB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.7096, allocations: 0 / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7096, allocations: 0 / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.7096, allocations: 0 / 1.177 GB, free: 9.035 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.001354/0.711, allocations: 0.8095 MB / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.711, allocations: 12.92 kB / 1.177 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.394e-05/0.7111, allocations: 74.7 kB / 1.178 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.7126, allocations: 196.3 kB / 1.178 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.7133, allocations: 436.8 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.7133, allocations: 25.36 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.7134, allocations: 44.34 kB / 1.178 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.7143, allocations: 0.643 MB / 1.179 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.7143, allocations: 7.953 kB / 1.179 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.7144, allocations: 23.97 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-05/0.7145, allocations: 51.97 kB / 1.179 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.7152, allocations: 495.3 kB / 1.179 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.7184, allocations: 3.787 MB / 1.183 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.7202, allocations: 0.6244 MB / 1.184 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.7205, allocations: 182.5 kB / 1.184 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.7205, allocations: 7.984 kB / 1.184 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.7206, allocations: 42.5 kB / 1.184 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.7206, allocations: 0 / 1.184 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002367/0.7229, allocations: 1.295 MB / 1.185 GB, free: 15.74 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.723, allocations: 118.7 kB / 1.185 GB, free: 15.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.7234, allocations: 397.9 kB / 1.186 GB, free: 15.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.7235, allocations: 29.7 kB / 1.186 GB, free: 15.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.7236, allocations: 288.1 kB / 1.186 GB, free: 14.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/0.7237, allocations: 123 kB / 1.186 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.7239, allocations: 106.1 kB / 1.186 GB, free: 14.65 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.724, allocations: 358.7 kB / 1.187 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.7243, allocations: 177 kB / 1.187 GB, free: 14.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.7246, allocations: 375.2 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.7253, allocations: 0.5796 MB / 1.188 GB, free: 12.99 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7253, allocations: 4 kB / 1.188 GB, free: 12.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001075/0.7264, allocations: 0.6748 MB / 1.188 GB, free: 12.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.7264, allocations: 8 kB / 1.188 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.7264, allocations: 16.7 kB / 1.188 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.7268, allocations: 98.45 kB / 1.188 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.7273, allocations: 115.8 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.7306, allocations: 4.344 MB / 1.193 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.7311, allocations: 27.97 kB / 1.193 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.7311, allocations: 24 kB / 1.193 GB, free: 7.234 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.0002414/0.7314, allocations: 203.9 kB / 1.193 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.7315, allocations: 51.67 kB / 1.193 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/0.7324, allocations: 0.5188 MB / 1.194 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7324, allocations: 4 kB / 1.194 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7324, allocations: 8 kB / 1.194 GB, free: 6.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.7324, allocations: 3.984 kB / 1.194 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.7344, allocations: 1.288 MB / 1.195 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7344, allocations: 4 kB / 1.195 GB, free: 5.043 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.7346, allocations: 59.89 kB / 1.195 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.7349, allocations: 86.8 kB / 1.195 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.735, allocations: 15.98 kB / 1.195 GB, free: 4.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.738, allocations: 4.334 MB / 1.199 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7381, allocations: 8 kB / 1.199 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.739, allocations: 0.7861 MB / 1.2 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.7392, allocations: 152.8 kB / 1.2 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.7393, allocations: 11.95 kB / 1.2 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.7397, allocations: 23.97 kB / 1.2 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.7398, allocations: 35.83 kB / 1.2 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.7398, allocations: 16 kB / 1.2 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002995/0.7401, allocations: 279.1 kB / 1.2 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7401, allocations: 0 / 1.2 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006992/0.7408, allocations: 124 kB / 1.201 GB, free: 14.62 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.001143/0.742, allocations: 1.332 MB / 1.202 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.7432, allocations: 0.8168 MB / 1.203 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7433, allocations: 0 / 1.203 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/0.744, allocations: 0.548 MB / 1.203 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.7449, allocations: 137.1 kB / 1.203 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.7503, allocations: 4.559 MB / 1.208 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.7508, allocations: 0.8663 MB / 1.209 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.7511, allocations: 104.5 kB / 1.209 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.7513, allocations: 155.4 kB / 1.209 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of SimCode: time 6.52e-07/0.7513, allocations: 0 / 1.209 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.7853, allocations: 10.02 MB / 1.219 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/10.64, allocations: 7.922 kB / 1.219 GB, free: 11.77 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