Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001438/0.001439, 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.001371/0.00137, allocations: 194.5 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.55 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2572, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04067/0.2979, allocations: 37.26 MB / 1.1 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.3205, allocations: 13.72 MB / 1.113 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.3238, allocations: 115.6 kB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005685/0.3295, allocations: 2.271 MB / 1.116 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.3331, allocations: 1.443 MB / 1.117 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008011/0.3411, allocations: 3.512 MB / 1.121 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006538/0.3477, allocations: 6.38 MB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01146/0.3591, allocations: 10.03 MB / 1.137 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004036/0.3632, allocations: 2.72 MB / 1.139 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.3678, allocations: 3.198 MB / 1.142 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.3692, allocations: 0.6172 MB / 1.143 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.372, allocations: 1.26 MB / 1.144 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.3744, allocations: 2.476 MB / 1.147 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006072/0.3805, allocations: 2.553 MB / 1.149 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009117/0.3897, allocations: 9.108 MB / 1.158 GB, free: 13.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3897, allocations: 0 / 1.158 GB, free: 13.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3897, allocations: 4 kB / 1.158 GB, free: 13.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002488/0.39, allocations: 0 / 1.158 GB, free: 13.41 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009157/0.3991, allocations: 4.295 MB / 1.162 GB, free: 9.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3992, allocations: 12.03 kB / 1.162 GB, free: 9.039 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008564/0.4001, allocations: 0.6366 MB / 1.163 GB, free: 8.391 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.4048, allocations: 1.042 MB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.4086, allocations: 2.187 MB / 1.166 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.4088, allocations: 329 kB / 1.166 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007172/0.4095, allocations: 432.2 kB / 1.167 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.4213, allocations: 7.412 MB / 1.174 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-05/0.4214, allocations: 7.938 kB / 1.174 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004591/0.4218, allocations: 184 kB / 1.174 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002879/0.4221, allocations: 294.9 kB / 1.174 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.4331, allocations: 6.014 MB / 1.18 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.474, allocations: 32.71 MB / 1.212 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.4774, allocations: 2.138 MB / 1.214 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.479, allocations: 1.251 MB / 1.216 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.4792, allocations: 110.1 kB / 1.216 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4792, allocations: 39.56 kB / 1.216 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.4792, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.007149/0.4864, allocations: 5.278 MB / 1.221 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4864, allocations: 141.9 kB / 1.221 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.4882, allocations: 1.476 MB / 1.222 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.4883, allocations: 45.7 kB / 1.223 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009636/0.4893, allocations: 1.859 MB / 1.224 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.4896, allocations: 378.9 kB / 1.225 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006279/0.4902, allocations: 459.1 kB / 1.225 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.4903, allocations: 305.1 kB / 1.225 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.492, allocations: 1.145 MB / 1.227 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4943, allocations: 2.223 MB / 1.229 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.4982, allocations: 3.431 MB / 1.232 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.4982, allocations: 8 kB / 1.232 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005111/0.5033, allocations: 3.37 MB / 1.235 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5034, allocations: 20.97 kB / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-05/0.5034, allocations: 32 kB / 1.235 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.298e-05/0.5035, allocations: 51.94 kB / 1.235 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.5057, allocations: 0.6394 MB / 1.236 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.343e-05/0.5058, allocations: 71.72 kB / 1.236 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.5077, allocations: 326.7 kB / 1.236 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.5079, allocations: 120 kB / 1.237 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003398/0.5113, allocations: 2.428 MB / 1.239 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002249/0.5135, allocations: 2.039 MB / 1.241 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4958/1.009, allocations: 3.064 MB / 1.244 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.656e-05/1.009, allocations: 9.75 kB / 1.244 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005556/1.015, allocations: 2.978 MB / 1.247 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.015, allocations: 20.08 kB / 1.247 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-05/1.015, allocations: 34.69 kB / 1.247 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.556e-05/1.015, allocations: 49.06 kB / 1.247 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.017, allocations: 0.5663 MB / 1.248 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.543e-05/1.017, allocations: 71.23 kB / 1.248 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.019, allocations: 264.3 kB / 1.248 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.02, allocations: 117.7 kB / 1.248 GB, free: 166.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0004633/1.02, allocations: 338.6 kB / 1.248 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/1.02, allocations: 155.8 kB / 1.248 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/1.023, allocations: 2.248 MB / 1.251 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.023, allocations: 8.844 kB / 1.251 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.023, allocations: 2.812 kB / 1.251 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.023, allocations: 6.75 kB / 1.251 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.039, allocations: 11 MB / 1.261 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.039, allocations: 10.38 kB / 1.261 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.041, allocations: 392.6 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-05/1.041, allocations: 19.7 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.041, allocations: 30.89 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.388e-05/1.041, allocations: 23.8 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-05/1.041, allocations: 19.88 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/1.046, allocations: 2.754 MB / 1.265 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/1.047, allocations: 458.8 kB / 1.265 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/1.047, allocations: 34.47 kB / 1.265 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.048, allocations: 172.8 kB / 1.265 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/1.048, allocations: 105.4 kB / 1.265 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.089e-05/1.048, allocations: 40.73 kB / 1.265 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001803/1.05, allocations: 1.007 MB / 1.266 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.05, allocations: 0 / 1.266 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003954/1.054, allocations: 1.132 MB / 1.267 GB, free: 162.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.003254/1.057, allocations: 3.346 MB / 1.271 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006889/1.064, allocations: 4.297 MB / 1.275 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/1.064, allocations: 1.125 kB / 1.275 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.066, allocations: 1.06 MB / 1.276 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.068, allocations: 456 kB / 1.276 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/1.097, allocations: 22.87 MB / 1.299 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/1.099, allocations: 2.864 MB / 1.301 GB, free: 143 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002914/1.102, allocations: 1.232 MB / 1.303 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.104, allocations: 1.269 MB / 1.304 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.104, allocations: 3.75 kB / 1.304 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/1.165, allocations: 46.76 MB / 1.35 GB, free: 95.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.855, allocations: 1.25 kB / 1.35 GB, free: 95.65 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches