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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.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.0008914/0.0008914, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005249/0.005249, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.41/2.41, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 13.38 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004506/0.2677, allocations: 3.854 MB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004211/0.2719, allocations: 2.782 MB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.2722, allocations: 11.94 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.2725, allocations: 67.42 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.2734, allocations: 386.5 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2744, allocations: 478.1 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2755, allocations: 0.9778 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/0.2763, allocations: 0.5433 MB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.2767, allocations: 219 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.2773, allocations: 334.8 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.2773, allocations: 20 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006135/0.278, allocations: 419.1 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.2782, allocations: 175.5 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2784, allocations: 252.4 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.2793, allocations: 0.7321 MB / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2793, allocations: 0 / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2793, allocations: 0 / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.2793, allocations: 0 / 1.07 GB, free: 9.562 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.00124/0.2805, allocations: 0.7251 MB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2806, allocations: 11.97 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.2807, allocations: 90.7 kB / 1.071 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.2821, allocations: 196 kB / 1.071 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2826, allocations: 363.1 kB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.2826, allocations: 33.31 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.2827, allocations: 44.27 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.2841, allocations: 0.8564 MB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.2841, allocations: 3.938 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.2842, allocations: 19.98 kB / 1.072 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-05/0.2843, allocations: 64.61 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.2856, allocations: 0.6853 MB / 1.073 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.2896, allocations: 4.666 MB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2907, allocations: 0.5126 MB / 1.078 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.2912, allocations: 293.5 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2913, allocations: 8 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2913, allocations: 34.56 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.2913, allocations: 7.938 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.001848/0.2932, allocations: 0.9138 MB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2932, allocations: 85.09 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.2936, allocations: 369.5 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2937, allocations: 33.7 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2938, allocations: 290.9 kB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.2939, allocations: 122.3 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.294, allocations: 53.69 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2941, allocations: 354.7 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.2947, allocations: 268.9 kB / 1.081 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.2954, allocations: 498.5 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2966, allocations: 0.7844 MB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.2967, allocations: 4 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001496/0.2982, allocations: 0.8097 MB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.2983, allocations: 294.1 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.2984, allocations: 12 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.2984, allocations: 12 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.2991, allocations: 167.7 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.2992, allocations: 23.86 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.2997, allocations: 87.67 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.2998, allocations: 31.98 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.2998, allocations: 4 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/0.301, allocations: 0.6363 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3011, allocations: 8 kB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3011, allocations: 12 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3017, allocations: 151.7 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3017, allocations: 15.98 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.3021, allocations: 67.86 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3022, allocations: 24 kB / 1.084 GB, free: 9.941 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.00025/0.3024, allocations: 285 kB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/0.3025, allocations: 43.52 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3037, allocations: 0.6068 MB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3037, allocations: 7.938 kB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3037, allocations: 0 / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3037, allocations: 3.984 kB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.3062, allocations: 1.634 MB / 1.087 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3062, allocations: 4 kB / 1.087 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.3068, allocations: 124.2 kB / 1.087 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.3068, allocations: 8 kB / 1.087 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.3068, allocations: 8 kB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.3068, allocations: 4 kB / 1.087 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3068, allocations: 4 kB / 1.087 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3079, allocations: 0.8117 MB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.3081, allocations: 172.4 kB / 1.088 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.3081, allocations: 8 kB / 1.088 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.3086, allocations: 59.92 kB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.3087, allocations: 31.91 kB / 1.088 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.3088, allocations: 12 kB / 1.088 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003344/0.3091, allocations: 279.1 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3091, allocations: 0 / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007992/0.3099, allocations: 196 kB / 1.088 GB, free: 5.465 MB / 0.8419 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.001308/0.3112, allocations: 1.352 MB / 1.09 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.313, allocations: 0.9618 MB / 1.09 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.313, allocations: 0 / 1.09 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.3135, allocations: 280.7 kB / 1.091 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/0.3144, allocations: 108.5 kB / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.3211, allocations: 5.131 MB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3216, allocations: 0.867 MB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006421/0.3222, allocations: 215.9 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.3225, allocations: 147.4 kB / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3225, allocations: 0 / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.3431, allocations: 9.544 MB / 1.106 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.3433, allocations: 212.5 kB / 1.107 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.197, allocations: 0 / 1.107 GB, free: 2.375 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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