Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.007795/0.007795, allocations: 99.95 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.002071/0.002071, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.81 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6791, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005952/0.685, allocations: 4.207 MB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.6897, allocations: 2.806 MB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.6898, allocations: 11.94 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.691, allocations: 366.2 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.6918, allocations: 410.2 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.6929, allocations: 0.5137 MB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.6938, allocations: 0.6892 MB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.6943, allocations: 347.1 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.6946, allocations: 271 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.6952, allocations: 330.8 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.6953, allocations: 40 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.6958, allocations: 351.2 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.696, allocations: 191.5 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.6963, allocations: 254.7 kB / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009194/0.6972, allocations: 0.7467 MB / 1.177 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.6972, allocations: 3.984 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6973, allocations: 0 / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.6973, allocations: 0 / 1.177 GB, free: 8.277 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001516/0.6988, allocations: 0.8332 MB / 1.178 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6988, allocations: 8.922 kB / 1.178 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.699, allocations: 86.7 kB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.7003, allocations: 192.3 kB / 1.178 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.7008, allocations: 379.4 kB / 1.179 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.7009, allocations: 29.38 kB / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.701, allocations: 36.36 kB / 1.179 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7024, allocations: 0.8447 MB / 1.18 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.7024, allocations: 7.938 kB / 1.18 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.7025, allocations: 23.98 kB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.063e-05/0.7025, allocations: 60.61 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.704, allocations: 0.6658 MB / 1.18 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.7086, allocations: 4.675 MB / 1.185 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.7098, allocations: 0.5034 MB / 1.185 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.7104, allocations: 289.5 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.7104, allocations: 4 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7105, allocations: 34.56 kB / 1.186 GB, free: 15.05 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.7105, allocations: 0 / 1.186 GB, free: 15.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.002032/0.7125, allocations: 0.8874 MB / 1.187 GB, free: 14.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.7126, allocations: 89.03 kB / 1.187 GB, free: 14.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.713, allocations: 373.5 kB / 1.187 GB, free: 13.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.7131, allocations: 33.7 kB / 1.187 GB, free: 13.63 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.7133, allocations: 299.9 kB / 1.187 GB, free: 13.33 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.7134, allocations: 130.9 kB / 1.188 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.7136, allocations: 114.1 kB / 1.188 GB, free: 13.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7138, allocations: 354.7 kB / 1.188 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.7144, allocations: 274.9 kB / 1.188 GB, free: 12.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.7152, allocations: 482.5 kB / 1.189 GB, free: 11.89 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.7166, allocations: 0.7737 MB / 1.189 GB, free: 11.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7166, allocations: 0 / 1.189 GB, free: 11.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001613/0.7183, allocations: 0.7777 MB / 1.19 GB, free: 10.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7183, allocations: 12.86 kB / 1.19 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7183, allocations: 12 kB / 1.19 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.7183, allocations: 8 kB / 1.19 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.7191, allocations: 171.7 kB / 1.19 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.7191, allocations: 15.94 kB / 1.19 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.7197, allocations: 71.8 kB / 1.191 GB, free: 9.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.7198, allocations: 28 kB / 1.191 GB, free: 9.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000677/0.7205, allocations: 365 kB / 1.191 GB, free: 9.559 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007098/0.7212, allocations: 453.4 kB / 1.191 GB, free: 9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.7224, allocations: 0.6794 MB / 1.192 GB, free: 8.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.7224, allocations: 0 / 1.192 GB, free: 8.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001475/0.7239, allocations: 0.6902 MB / 1.193 GB, free: 7.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7239, allocations: 20.86 kB / 1.193 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.7239, allocations: 8 kB / 1.193 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7239, allocations: 8 kB / 1.193 GB, free: 7.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.7246, allocations: 151.8 kB / 1.193 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.7246, allocations: 15.94 kB / 1.193 GB, free: 7.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.7251, allocations: 63.77 kB / 1.193 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.7252, allocations: 28 kB / 1.193 GB, free: 7.227 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.7253, allocations: 224.5 kB / 1.193 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.7255, allocations: 47.7 kB / 1.193 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.7267, allocations: 0.5727 MB / 1.194 GB, free: 6.371 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7267, allocations: 4 kB / 1.194 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.7267, allocations: 8 kB / 1.194 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7268, allocations: 3.984 kB / 1.194 GB, free: 6.355 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.7294, allocations: 1.612 MB / 1.195 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.7294, allocations: 8.062 kB / 1.195 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.73, allocations: 107.8 kB / 1.195 GB, free: 4.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.73, allocations: 4 kB / 1.195 GB, free: 4.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.7301, allocations: 12 kB / 1.195 GB, free: 4.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.7301, allocations: 7.938 kB / 1.195 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7301, allocations: 4 kB / 1.195 GB, free: 4.504 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.7313, allocations: 0.7953 MB / 1.196 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.7315, allocations: 160.8 kB / 1.196 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.7316, allocations: 23.89 kB / 1.196 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.732, allocations: 51.92 kB / 1.196 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.7321, allocations: 39.78 kB / 1.197 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.7322, allocations: 12 kB / 1.197 GB, free: 3.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000372/0.7326, allocations: 275.1 kB / 1.197 GB, free: 3.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7326, allocations: 0 / 1.197 GB, free: 3.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008252/0.7334, allocations: 192 kB / 1.197 GB, free: 2.898 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.7349, allocations: 1.337 MB / 1.198 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.7368, allocations: 0.9398 MB / 1.199 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7368, allocations: 0 / 1.199 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.7374, allocations: 267.6 kB / 1.199 GB, free: 300 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.7382, allocations: 130.8 kB / 1.2 GB, free: 176 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/0.7454, allocations: 4.84 MB / 1.204 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.7459, allocations: 0.8709 MB / 1.205 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005973/0.7465, allocations: 208.1 kB / 1.205 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.7468, allocations: 151.4 kB / 1.206 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.7468, allocations: 0 / 1.206 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.7804, allocations: 10.3 MB / 1.216 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/9.205, allocations: 9.125 kB / 1.216 GB, free: 15.56 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_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_ParallelLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches