Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.00662/0.00662, 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.001689/0.001689, allocations: 192.3 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.327/1.327, 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.367/2.367, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6636, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004104/0.6677, allocations: 2.653 MB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.6698, allocations: 1.313 MB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.6699, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.6706, allocations: 175.2 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.6709, allocations: 167.3 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.6713, allocations: 160.8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.6716, allocations: 263.2 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.6718, allocations: 145.4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.672, allocations: 107.7 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.6722, allocations: 127.5 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.6723, allocations: 16 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.6725, allocations: 147.6 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.6726, allocations: 63.81 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.6727, allocations: 95.52 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.673, allocations: 290.6 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.673, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.673, allocations: 4 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6731, allocations: 0 / 1.172 GB, free: 14.07 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007118/0.6738, allocations: 0.4947 MB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.6738, allocations: 12.62 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.6739, allocations: 50.72 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.6743, allocations: 68.72 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.6746, allocations: 243.9 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6747, allocations: 12.66 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.6747, allocations: 16.36 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.6752, allocations: 304.7 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6752, allocations: 4 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.6752, allocations: 8 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.6753, allocations: 36.17 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.6758, allocations: 260.6 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.6773, allocations: 1.506 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.6778, allocations: 253.1 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.678, allocations: 133.6 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6781, allocations: 0 / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6781, allocations: 38.56 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.6781, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0007198/0.6788, allocations: 338.7 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6789, allocations: 85.11 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.679, allocations: 171.8 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.679, allocations: 29.7 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.6791, allocations: 152.3 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.6792, allocations: 55.58 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.6793, allocations: 45.66 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.6794, allocations: 330.7 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.6796, allocations: 108.8 kB / 1.176 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.6798, allocations: 170.1 kB / 1.176 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6803, allocations: 278.6 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6803, allocations: 0 / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005285/0.6808, allocations: 312.3 kB / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6808, allocations: 4 kB / 1.177 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6808, allocations: 4 kB / 1.177 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6809, allocations: 7.938 kB / 1.177 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.6812, allocations: 51.95 kB / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.6812, allocations: 7.938 kB / 1.177 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.6814, allocations: 31.8 kB / 1.177 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.6814, allocations: 15.94 kB / 1.177 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002459/0.6817, allocations: 192.2 kB / 1.177 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002067/0.6819, allocations: 152.5 kB / 1.177 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003781/0.6823, allocations: 255.5 kB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.6823, allocations: 4 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004782/0.6827, allocations: 269.3 kB / 1.178 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6828, allocations: 11.94 kB / 1.178 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.6828, allocations: 0 / 1.178 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.6828, allocations: 4.25 kB / 1.178 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.683, allocations: 55.91 kB / 1.178 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.683, allocations: 7.984 kB / 1.178 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.6832, allocations: 23.88 kB / 1.178 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.6832, allocations: 12 kB / 1.178 GB, free: 7.055 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 9.266e-05/0.6833, allocations: 192.1 kB / 1.178 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.6834, allocations: 15.91 kB / 1.178 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.6839, allocations: 272.1 kB / 1.179 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6839, allocations: 4 kB / 1.179 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6839, allocations: 0 / 1.179 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6839, allocations: 0 / 1.179 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.6849, allocations: 0.6888 MB / 1.179 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6849, allocations: 0 / 1.179 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.6852, allocations: 55.89 kB / 1.179 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6852, allocations: 3.938 kB / 1.179 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6852, allocations: 7.938 kB / 1.179 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6852, allocations: 4 kB / 1.179 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6852, allocations: 0 / 1.179 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.6858, allocations: 451.8 kB / 1.18 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6859, allocations: 117 kB / 1.18 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.6859, allocations: 7.938 kB / 1.18 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.6861, allocations: 27.95 kB / 1.18 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.6862, allocations: 11.98 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.6862, allocations: 8 kB / 1.18 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001054/0.6863, allocations: 131.7 kB / 1.18 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6863, allocations: 0 / 1.18 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004712/0.6868, allocations: 79.89 kB / 1.18 GB, free: 4.875 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0007418/0.6876, allocations: 0.9848 MB / 1.181 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000698/0.6883, allocations: 382.8 kB / 1.181 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6883, allocations: 7.875 kB / 1.181 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.6885, allocations: 109.1 kB / 1.182 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.689, allocations: 49.14 kB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.6918, allocations: 2.46 MB / 1.184 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.6921, allocations: 0.7439 MB / 1.185 GB, free: 15.94 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.6923, allocations: 77.45 kB / 1.185 GB, free: 15.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6924, allocations: 55.41 kB / 1.185 GB, free: 15.81 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.6924, allocations: 4 kB / 1.185 GB, free: 15.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.7114, allocations: 4.208 MB / 1.189 GB, free: 11.73 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.179, allocations: 5.5 kB / 1.189 GB, free: 11.73 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_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_ParallelResistors.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches