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.001935/0.001936, allocations: 108 kB / 15.6 MB, free: 132 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.002059/0.002059, allocations: 197.6 kB / 16.53 MB, free: 6.672 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.814/2.814, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.31 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2545, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006688/0.2612, allocations: 4.217 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004752/0.266, allocations: 2.797 MB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.2663, allocations: 7.938 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2674, allocations: 375 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.2683, allocations: 414.2 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2695, allocations: 0.5132 MB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007525/0.2702, allocations: 0.6893 MB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.2707, allocations: 351.3 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2711, allocations: 267.1 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.2716, allocations: 338.8 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.2717, allocations: 36 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.2722, allocations: 339.3 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.2724, allocations: 195.5 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.2727, allocations: 250.7 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008191/0.2735, allocations: 0.7321 MB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2735, allocations: 0 / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2735, allocations: 0 / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2736, allocations: 4 kB / 1.075 GB, free: 2.727 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001408/0.275, allocations: 0.8106 MB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.275, allocations: 8.031 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.2751, allocations: 90.69 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.2765, allocations: 196 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.277, allocations: 363.1 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.277, allocations: 29.36 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.2771, allocations: 44.36 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.2785, allocations: 0.8447 MB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2786, allocations: 3.938 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.2786, allocations: 20 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.48e-05/0.2787, allocations: 64.61 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2802, allocations: 0.6658 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004574/0.2848, allocations: 4.67 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.2859, allocations: 0.5055 MB / 1.083 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.2865, allocations: 277.5 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.2865, allocations: 7.984 kB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2866, allocations: 42.5 kB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.2866, allocations: 0 / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.001996/0.2886, allocations: 0.8779 MB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2887, allocations: 85.09 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.2891, allocations: 381.4 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.2892, allocations: 29.7 kB / 1.085 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.2894, allocations: 287 kB / 1.085 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2895, allocations: 122.3 kB / 1.085 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.2897, allocations: 118 kB / 1.086 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2899, allocations: 346.7 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.2905, allocations: 274.9 kB / 1.086 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.2913, allocations: 486.5 kB / 1.087 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2927, allocations: 0.769 MB / 1.087 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2927, allocations: 8 kB / 1.087 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001637/0.2943, allocations: 0.7783 MB / 1.088 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2943, allocations: 8 kB / 1.088 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2944, allocations: 8 kB / 1.088 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.2944, allocations: 12 kB / 1.088 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.2952, allocations: 159.7 kB / 1.088 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.2952, allocations: 19.92 kB / 1.088 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.2958, allocations: 79.7 kB / 1.088 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.2958, allocations: 31.92 kB / 1.088 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006663/0.2965, allocations: 361 kB / 1.089 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006941/0.2972, allocations: 449.3 kB / 1.089 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001189/0.2984, allocations: 0.6889 MB / 1.09 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.2984, allocations: 4 kB / 1.09 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001452/0.2999, allocations: 0.6878 MB / 1.091 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2999, allocations: 9.406 kB / 1.091 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.2999, allocations: 11.98 kB / 1.091 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3, allocations: 12 kB / 1.091 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.3006, allocations: 147.8 kB / 1.091 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.3006, allocations: 15.92 kB / 1.091 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.3011, allocations: 71.73 kB / 1.091 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.3012, allocations: 27.98 kB / 1.091 GB, free: 1.73 MB / 0.8419 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.0001821/0.3014, allocations: 224 kB / 1.091 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3015, allocations: 39.53 kB / 1.091 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3027, allocations: 0.5795 MB / 1.092 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3027, allocations: 4 kB / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3028, allocations: 0 / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3028, allocations: 0 / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.3055, allocations: 1.609 MB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3055, allocations: 4 kB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.3061, allocations: 119.7 kB / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3061, allocations: 8 kB / 1.093 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3061, allocations: 8 kB / 1.093 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3061, allocations: 4 kB / 1.093 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.3062, allocations: 4.469 kB / 1.093 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3073, allocations: 0.7936 MB / 1.094 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.3076, allocations: 160.5 kB / 1.094 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3077, allocations: 19.89 kB / 1.094 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.3081, allocations: 47.94 kB / 1.094 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.3083, allocations: 35.91 kB / 1.094 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3083, allocations: 12 kB / 1.094 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003844/0.3087, allocations: 275.1 kB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3087, allocations: 0 / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000855/0.3095, allocations: 192 kB / 1.095 GB, free: 13.43 MB / 0.8575 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.001496/0.311, allocations: 1.34 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.313, allocations: 0.9551 MB / 1.097 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.313, allocations: 4 kB / 1.097 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.3135, allocations: 281.1 kB / 1.097 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.3144, allocations: 117 kB / 1.097 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/0.3216, allocations: 4.867 MB / 1.102 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.3221, allocations: 0.867 MB / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000657/0.3228, allocations: 212 kB / 1.103 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.3231, allocations: 151.4 kB / 1.103 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3231, allocations: 0 / 1.103 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.3564, allocations: 10.18 MB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.12, allocations: 8 kB / 1.113 GB, free: 10.16 MB / 0.8731 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