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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001634/0.001633, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.77 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004517/0.2626, allocations: 2.648 MB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2647, allocations: 1.313 MB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.2649, allocations: 7.938 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.2657, allocations: 175.3 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.2661, allocations: 167.2 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.2665, allocations: 167.6 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.2669, allocations: 267.1 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.2672, allocations: 137.5 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2674, allocations: 103.6 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.2677, allocations: 123.6 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.2677, allocations: 12 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.268, allocations: 151.6 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.2681, allocations: 67.81 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2682, allocations: 87.53 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2686, allocations: 291.4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2686, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2686, allocations: 4 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2686, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.8262 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.0008069/0.2694, allocations: 495 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2695, allocations: 16.02 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.2695, allocations: 50.67 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/0.2701, allocations: 72.58 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2703, allocations: 238.4 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2704, allocations: 8.656 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.2704, allocations: 24.34 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.2709, allocations: 304.6 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2709, allocations: 0 / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.271, allocations: 8 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.271, allocations: 32.25 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.2715, allocations: 252.6 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.2732, allocations: 1.514 MB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.2737, allocations: 255.2 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.2739, allocations: 125.6 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.274, allocations: 4 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.274, allocations: 38.5 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.274, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0007702/0.2748, allocations: 345.2 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2748, allocations: 81.23 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.275, allocations: 175.2 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.275, allocations: 29.7 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.2751, allocations: 140 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2752, allocations: 55.2 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.2752, allocations: 49.64 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2754, allocations: 334.8 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2756, allocations: 108.8 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2758, allocations: 159.6 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.2763, allocations: 282.7 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2763, allocations: 0 / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005654/0.2769, allocations: 314.4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2769, allocations: 8 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2769, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.277, allocations: 4 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.2773, allocations: 55.89 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2773, allocations: 4.219 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2775, allocations: 39.75 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2775, allocations: 11.94 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002617/0.2778, allocations: 196 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002283/0.278, allocations: 157 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004063/0.2784, allocations: 248.5 kB / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.2784, allocations: 0 / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000499/0.2789, allocations: 282.6 kB / 1.075 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.279, allocations: 8 kB / 1.075 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.279, allocations: 4 kB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.279, allocations: 4 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2792, allocations: 47.91 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2792, allocations: 7.984 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2794, allocations: 31.77 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2794, allocations: 4 kB / 1.076 GB, free: 1.844 MB / 0.8262 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.0001059/0.2795, allocations: 198 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.2796, allocations: 15.81 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.2802, allocations: 277 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2802, allocations: 4 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2802, allocations: 0 / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2802, allocations: 0 / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.2812, allocations: 0.6771 MB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2812, allocations: 4 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2815, allocations: 39.95 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2815, allocations: 7.938 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2815, allocations: 8 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2815, allocations: 7.922 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2815, allocations: 8.125 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.282, allocations: 445.9 kB / 1.077 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.2822, allocations: 112.8 kB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.2822, allocations: 11.94 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2824, allocations: 23.97 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.2825, allocations: 15.92 kB / 1.077 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2825, allocations: 4 kB / 1.077 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001099/0.2826, allocations: 135.2 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004779/0.2831, allocations: 83.84 kB / 1.078 GB, free: 15.66 MB / 0.8419 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.0008455/0.284, allocations: 0.9842 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.2848, allocations: 385.7 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2848, allocations: 4 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.285, allocations: 111.8 kB / 1.079 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.2855, allocations: 43.95 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2885, allocations: 2.448 MB / 1.081 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2888, allocations: 0.7441 MB / 1.082 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2891, allocations: 73.47 kB / 1.082 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2892, allocations: 51.42 kB / 1.082 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/0.2892, allocations: 0 / 1.082 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3109, allocations: 4.152 MB / 1.086 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.543, allocations: 11.5 kB / 1.086 GB, free: 6.605 MB / 0.8419 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