Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_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.004977/0.004977, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001326/0.001326, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.281/1.281, 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 11.1.0-master/package.mo): time 2.487/2.487, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7191, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00419/0.7233, allocations: 2.653 MB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.7254, allocations: 1.317 MB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.7255, allocations: 7.938 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.7262, allocations: 171.3 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.7267, allocations: 163.2 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.7272, allocations: 168.8 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.7275, allocations: 263.2 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.7278, allocations: 137.5 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.728, allocations: 107.6 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.7283, allocations: 119.6 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.7284, allocations: 16 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.7286, allocations: 151.6 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.7287, allocations: 67.81 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.7288, allocations: 91.52 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.7292, allocations: 294.6 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7292, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7292, allocations: 4 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.7293, allocations: 4 kB / 1.225 GB, free: 12.56 MB / 0.9512 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.0008295/0.7301, allocations: 0.4908 MB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7301, allocations: 8.625 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.7302, allocations: 54.73 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.7307, allocations: 72.69 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.731, allocations: 248 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.7311, allocations: 8.656 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.7311, allocations: 16.36 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.7316, allocations: 312.6 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7316, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.7317, allocations: 8 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.7317, allocations: 28.27 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.7322, allocations: 260.5 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.7338, allocations: 1.502 MB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.7343, allocations: 261 kB / 1.228 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.7345, allocations: 125.6 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.7346, allocations: 4 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.7346, allocations: 38.56 kB / 1.229 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.7346, allocations: 0 / 1.229 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007322/0.7353, allocations: 344.8 kB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.7354, allocations: 81.11 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.7356, allocations: 175.2 kB / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.7356, allocations: 29.7 kB / 1.229 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.7357, allocations: 152.3 kB / 1.229 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.7357, allocations: 51.55 kB / 1.229 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.7358, allocations: 45.7 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.7359, allocations: 326.8 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.7362, allocations: 108.8 kB / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.7364, allocations: 167.6 kB / 1.23 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.7369, allocations: 277.5 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7369, allocations: 7.938 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005501/0.7374, allocations: 309.3 kB / 1.231 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7375, allocations: 5.562 kB / 1.231 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.7375, allocations: 8 kB / 1.231 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7375, allocations: 4 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.7378, allocations: 55.89 kB / 1.231 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7378, allocations: 7.922 kB / 1.231 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.738, allocations: 31.88 kB / 1.231 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.738, allocations: 11.92 kB / 1.231 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002606/0.7383, allocations: 196.2 kB / 1.231 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002209/0.7385, allocations: 158.1 kB / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004107/0.739, allocations: 261.4 kB / 1.231 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.739, allocations: 0 / 1.231 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004975/0.7395, allocations: 269.3 kB / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7395, allocations: 8 kB / 1.232 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7395, allocations: 4 kB / 1.232 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.7395, allocations: 4.25 kB / 1.232 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7397, allocations: 55.89 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7398, allocations: 0 / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.7399, allocations: 31.86 kB / 1.232 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.74, allocations: 8 kB / 1.232 GB, free: 5.543 MB / 0.9512 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 0.0001316/0.7401, allocations: 196.1 kB / 1.232 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.7402, allocations: 15.91 kB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.7407, allocations: 275 kB / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7407, allocations: 0 / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7407, allocations: 0 / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7407, allocations: 0 / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.7418, allocations: 0.6888 MB / 1.233 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7418, allocations: 0 / 1.233 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.7421, allocations: 51.89 kB / 1.233 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.7421, allocations: 7.938 kB / 1.233 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.7421, allocations: 0 / 1.233 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7421, allocations: 4 kB / 1.233 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7421, allocations: 0 / 1.233 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.7426, allocations: 453.1 kB / 1.233 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7428, allocations: 117 kB / 1.233 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.7428, allocations: 7.938 kB / 1.233 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.743, allocations: 19.98 kB / 1.233 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.7431, allocations: 11.98 kB / 1.233 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.7431, allocations: 7.984 kB / 1.233 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001005/0.7432, allocations: 127.2 kB / 1.234 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7432, allocations: 0 / 1.234 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004631/0.7437, allocations: 83.89 kB / 1.234 GB, free: 3.367 MB / 0.9512 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.0008403/0.7445, allocations: 0.9881 MB / 1.235 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007374/0.7453, allocations: 375.4 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7453, allocations: 3.938 kB / 1.235 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.7455, allocations: 125 kB / 1.235 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.746, allocations: 42.48 kB / 1.235 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.7491, allocations: 2.465 MB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.7494, allocations: 0.744 MB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.7496, allocations: 77.45 kB / 1.238 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7497, allocations: 51.42 kB / 1.238 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.7498, allocations: 4 kB / 1.238 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.7701, allocations: 4.206 MB / 1.243 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/8.096, allocations: 7.938 kB / 1.243 GB, free: 10.24 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches