Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_11_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.007767/0.007767, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002152/0.002152, allocations: 194.8 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005833/0.2772, allocations: 4.235 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004418/0.2817, allocations: 2.778 MB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2818, allocations: 11.94 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.2829, allocations: 382.2 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.2837, allocations: 414.1 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2848, allocations: 0.506 MB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000785/0.2856, allocations: 0.7009 MB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.2861, allocations: 343.1 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.2865, allocations: 267 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.287, allocations: 338.8 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.2871, allocations: 36 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.2876, allocations: 339.3 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.2878, allocations: 195.4 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2881, allocations: 254.7 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.2889, allocations: 0.7393 MB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.289, allocations: 4 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.289, allocations: 4 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.289, allocations: 0 / 1.231 GB, free: 2.781 MB / 0.9825 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.0014/0.2904, allocations: 0.8216 MB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2904, allocations: 8.031 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.2905, allocations: 94.69 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.2919, allocations: 188.4 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.2924, allocations: 387.2 kB / 1.233 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.2925, allocations: 33.36 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.2925, allocations: 36.38 kB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2939, allocations: 0.8452 MB / 1.234 GB, free: 196 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.294, allocations: 7.938 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.294, allocations: 23.98 kB / 1.234 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.725e-05/0.2941, allocations: 60.61 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.2956, allocations: 0.6736 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.3001, allocations: 4.655 MB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3012, allocations: 0.5009 MB / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.3018, allocations: 278 kB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3018, allocations: 7.984 kB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3019, allocations: 42.5 kB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.3019, allocations: 0 / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.002012/0.3039, allocations: 0.898 MB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.304, allocations: 81.11 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.3044, allocations: 381.5 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3045, allocations: 29.7 kB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3047, allocations: 291.9 kB / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3048, allocations: 127 kB / 1.242 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.305, allocations: 122.1 kB / 1.242 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3052, allocations: 350.7 kB / 1.242 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.3058, allocations: 266.9 kB / 1.242 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/0.3066, allocations: 486.5 kB / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.3079, allocations: 0.7767 MB / 1.243 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.308, allocations: 0 / 1.243 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001627/0.3096, allocations: 0.7857 MB / 1.244 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3096, allocations: 8 kB / 1.244 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3096, allocations: 8 kB / 1.244 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3097, allocations: 12 kB / 1.244 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.3104, allocations: 164.4 kB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.3105, allocations: 19.92 kB / 1.244 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.311, allocations: 75.77 kB / 1.245 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.3111, allocations: 24 kB / 1.245 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006733/0.3118, allocations: 369 kB / 1.245 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007/0.3125, allocations: 445.4 kB / 1.245 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001205/0.3137, allocations: 0.6956 MB / 1.246 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.3137, allocations: 0 / 1.246 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001444/0.3152, allocations: 0.6906 MB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3152, allocations: 10.03 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3152, allocations: 8 kB / 1.247 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3152, allocations: 12 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.3159, allocations: 144.4 kB / 1.247 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.3159, allocations: 23.92 kB / 1.247 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.3164, allocations: 63.78 kB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.3164, allocations: 24 kB / 1.247 GB, free: 1.738 MB / 0.9981 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.0001688/0.3166, allocations: 227.9 kB / 1.247 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3167, allocations: 43.72 kB / 1.247 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.318, allocations: 0.5719 MB / 1.248 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.318, allocations: 7.984 kB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.318, allocations: 0 / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.318, allocations: 0 / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4921/0.8102, allocations: 1.613 MB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8102, allocations: 4.344 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.8108, allocations: 116.3 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.8108, allocations: 5.875 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.8108, allocations: 10.19 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.8109, allocations: 9.406 kB / 1.249 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8109, allocations: 3.906 kB / 1.25 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.8119, allocations: 0.79 MB / 1.25 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.8121, allocations: 170.2 kB / 1.25 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.8122, allocations: 16.78 kB / 1.25 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.8127, allocations: 47.84 kB / 1.25 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.8128, allocations: 32.22 kB / 1.251 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.8128, allocations: 18.94 kB / 1.251 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003434/0.8131, allocations: 272.5 kB / 1.251 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8132, allocations: 0 / 1.251 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008697/0.814, allocations: 191.2 kB / 1.251 GB, free: 28.71 MB / 0.9981 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.001146/0.8152, allocations: 1.34 MB / 1.252 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.817, allocations: 0.9383 MB / 1.253 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.817, allocations: 4.156 kB / 1.253 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.8175, allocations: 269.5 kB / 1.253 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.8183, allocations: 124.4 kB / 1.254 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.8237, allocations: 4.839 MB / 1.258 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.824, allocations: 0.8719 MB / 1.259 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005298/0.8245, allocations: 213.7 kB / 1.259 GB, free: 24.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.8248, allocations: 147.5 kB / 1.26 GB, free: 24.78 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.8248, allocations: 0 / 1.26 GB, free: 24.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.8571, allocations: 10.32 MB / 1.27 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.957, allocations: 4.844 kB / 1.27 GB, free: 23.99 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches