Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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.001653/0.001659, 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.001928/0.001928, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.09 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2596, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006216/0.2658, allocations: 4.206 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00471/0.2706, allocations: 2.805 MB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003244/0.2709, allocations: 11.94 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2721, allocations: 370.3 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2732, allocations: 418.1 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.2745, allocations: 0.5095 MB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.2752, allocations: 0.6893 MB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004858/0.2757, allocations: 355.3 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.276, allocations: 263.1 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.2765, allocations: 342.8 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.2766, allocations: 40 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.2772, allocations: 339.3 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.2774, allocations: 191.5 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.2776, allocations: 250.7 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.2783, allocations: 0.7282 MB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2783, allocations: 4 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2783, allocations: 0 / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2784, allocations: 3.938 kB / 1.075 GB, free: 2.957 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.001362/0.2797, allocations: 0.8107 MB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2798, allocations: 8.031 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.834e-05/0.2799, allocations: 86.7 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.2812, allocations: 192 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.2817, allocations: 367.1 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2817, allocations: 29.38 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.2818, allocations: 40.36 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.283, allocations: 0.8486 MB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2831, allocations: 7.938 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.2831, allocations: 19.98 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.122e-05/0.2832, allocations: 60.61 kB / 1.077 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.2846, allocations: 0.6658 MB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.2885, allocations: 4.67 MB / 1.082 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2896, allocations: 0.4993 MB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.2901, allocations: 286 kB / 1.083 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2902, allocations: 0 / 1.083 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2902, allocations: 46.5 kB / 1.083 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.2902, allocations: 3.984 kB / 1.083 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.001895/0.2921, allocations: 0.8813 MB / 1.084 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2922, allocations: 89.03 kB / 1.084 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2926, allocations: 377.4 kB / 1.085 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.2926, allocations: 37.7 kB / 1.085 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2928, allocations: 287 kB / 1.085 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.2929, allocations: 122.3 kB / 1.085 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.2931, allocations: 118 kB / 1.085 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2932, allocations: 350.7 kB / 1.085 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.2938, allocations: 270.9 kB / 1.086 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.2945, allocations: 478.5 kB / 1.086 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2957, allocations: 0.777 MB / 1.087 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2957, allocations: 0 / 1.087 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001628/0.2973, allocations: 0.7784 MB / 1.088 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2974, allocations: 8 kB / 1.088 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2974, allocations: 12.06 kB / 1.088 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2974, allocations: 8 kB / 1.088 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.2982, allocations: 167.7 kB / 1.088 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.2982, allocations: 19.86 kB / 1.088 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.2988, allocations: 75.67 kB / 1.088 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.2988, allocations: 28 kB / 1.088 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006215/0.2995, allocations: 369 kB / 1.088 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005938/0.3001, allocations: 445.4 kB / 1.089 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/0.3011, allocations: 0.6755 MB / 1.089 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.3011, allocations: 4 kB / 1.089 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00132/0.3025, allocations: 0.687 MB / 1.09 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3025, allocations: 11.94 kB / 1.09 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3025, allocations: 12.06 kB / 1.09 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3025, allocations: 12 kB / 1.09 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.3031, allocations: 147.8 kB / 1.09 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.3031, allocations: 19.92 kB / 1.09 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.3037, allocations: 59.7 kB / 1.09 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.3037, allocations: 28 kB / 1.09 GB, free: 1.973 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.000166/0.3039, allocations: 224 kB / 1.091 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.304, allocations: 39.53 kB / 1.091 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.3052, allocations: 0.5833 MB / 1.091 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3052, allocations: 4 kB / 1.091 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3052, allocations: 0 / 1.091 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.3052, allocations: 4 kB / 1.091 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.3076, allocations: 1.603 MB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3077, allocations: 4 kB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.3082, allocations: 119.8 kB / 1.093 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3082, allocations: 4 kB / 1.093 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3083, allocations: 12 kB / 1.093 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.3083, allocations: 11.92 kB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3083, allocations: 4 kB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3093, allocations: 0.7878 MB / 1.094 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.3095, allocations: 164.6 kB / 1.094 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.472e-05/0.3096, allocations: 19.89 kB / 1.094 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.3101, allocations: 51.92 kB / 1.094 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.3102, allocations: 35.84 kB / 1.094 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3102, allocations: 16 kB / 1.094 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003431/0.3106, allocations: 275.1 kB / 1.094 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3106, allocations: 0 / 1.094 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008296/0.3114, allocations: 191.9 kB / 1.094 GB, free: 13.65 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.001289/0.3127, allocations: 1.337 MB / 1.096 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.3145, allocations: 0.9692 MB / 1.097 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3145, allocations: 0 / 1.097 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.315, allocations: 264.7 kB / 1.097 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.3158, allocations: 126.7 kB / 1.097 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.3224, allocations: 4.863 MB / 1.102 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3228, allocations: 0.8709 MB / 1.103 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006492/0.3235, allocations: 212 kB / 1.103 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3238, allocations: 143.4 kB / 1.103 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3238, allocations: 3.938 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.3517, allocations: 10.19 MB / 1.113 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.702, allocations: 1.25 kB / 1.113 GB, free: 10.4 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_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_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches