Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_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.006319/0.006319, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.001246/0.001246, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 59.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9233/0.9256, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04397/0.9696, allocations: 37.28 MB / 1.124 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.9935, allocations: 13.7 MB / 1.137 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005471/0.999, allocations: 115.7 kB / 1.137 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007145/1.006, allocations: 2.275 MB / 1.14 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005159/1.011, allocations: 1.429 MB / 1.141 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/1.022, allocations: 3.523 MB / 1.144 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008691/1.03, allocations: 6.383 MB / 1.151 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01437/1.045, allocations: 9.881 MB / 1.16 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/1.051, allocations: 2.76 MB / 1.163 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006784/1.057, allocations: 3.201 MB / 1.166 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002468/1.06, allocations: 0.6206 MB / 1.167 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/1.066, allocations: 1.267 MB / 1.168 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005409/1.071, allocations: 2.474 MB / 1.17 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007963/1.079, allocations: 2.554 MB / 1.173 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.093, allocations: 9.161 MB / 1.182 GB, free: 11.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.093, allocations: 5.234 kB / 1.182 GB, free: 11.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/1.093, allocations: 0 / 1.182 GB, free: 11.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002836/1.093, allocations: 0 / 1.182 GB, free: 11.16 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.01466/1.108, allocations: 4.306 MB / 1.186 GB, free: 8.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.108, allocations: 8.5 kB / 1.186 GB, free: 8.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002833/1.111, allocations: 0.6391 MB / 1.187 GB, free: 7.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/1.117, allocations: 1.038 MB / 1.188 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/1.123, allocations: 2.224 MB / 1.19 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/1.124, allocations: 329 kB / 1.19 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/1.126, allocations: 432.2 kB / 1.191 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/1.15, allocations: 7.408 MB / 1.198 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002794/1.15, allocations: 7.938 kB / 1.198 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/1.153, allocations: 184 kB / 1.198 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00052/1.153, allocations: 290.9 kB / 1.198 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/1.173, allocations: 6.014 MB / 1.204 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/1.22, allocations: 32.46 MB / 1.236 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/1.223, allocations: 2.138 MB / 1.238 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/1.225, allocations: 1.244 MB / 1.239 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/1.226, allocations: 106.1 kB / 1.239 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.226, allocations: 47.5 kB / 1.239 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 3.477e-06/1.226, allocations: 0 / 1.239 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.01153/1.237, allocations: 5.27 MB / 1.244 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/1.237, allocations: 150.1 kB / 1.245 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/1.24, allocations: 1.476 MB / 1.246 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/1.24, allocations: 41.7 kB / 1.246 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/1.242, allocations: 1.859 MB / 1.248 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/1.242, allocations: 374.8 kB / 1.248 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009278/1.243, allocations: 467.1 kB / 1.249 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.243, allocations: 305.1 kB / 1.249 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/1.245, allocations: 1.141 MB / 1.25 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/1.248, allocations: 2.219 MB / 1.252 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/1.253, allocations: 3.431 MB / 1.256 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/1.253, allocations: 8 kB / 1.256 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005894/1.259, allocations: 3.375 MB / 1.259 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.259, allocations: 20 kB / 1.259 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/1.259, allocations: 32 kB / 1.259 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.829e-05/1.259, allocations: 56 kB / 1.259 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.261, allocations: 0.6317 MB / 1.26 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.705e-05/1.261, allocations: 63.8 kB / 1.26 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/1.264, allocations: 330.6 kB / 1.26 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/1.264, allocations: 124 kB / 1.26 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004259/1.268, allocations: 2.428 MB / 1.262 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002516/1.271, allocations: 2.043 MB / 1.264 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003831/1.274, allocations: 3.064 MB / 1.267 GB, free: 240 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-05/1.274, allocations: 12 kB / 1.267 GB, free: 228 kB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005388/1.28, allocations: 2.976 MB / 1.27 GB, free: 13.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.28, allocations: 20.94 kB / 1.27 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/1.28, allocations: 36 kB / 1.27 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-05/1.28, allocations: 48 kB / 1.27 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.282, allocations: 0.5615 MB / 1.271 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-05/1.282, allocations: 75.66 kB / 1.271 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.284, allocations: 267 kB / 1.271 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.285, allocations: 115.9 kB / 1.271 GB, free: 12.12 MB / 1.014 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.0005759/1.285, allocations: 339.2 kB / 1.272 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/1.286, allocations: 158.1 kB / 1.272 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/1.289, allocations: 2.242 MB / 1.274 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.289, allocations: 15.94 kB / 1.274 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.289, allocations: 0 / 1.274 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.289, allocations: 11.97 kB / 1.274 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.307, allocations: 10.99 MB / 1.285 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.307, allocations: 15.98 kB / 1.285 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.308, allocations: 383.3 kB / 1.285 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/1.308, allocations: 16 kB / 1.285 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/1.308, allocations: 36 kB / 1.285 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/1.308, allocations: 23.92 kB / 1.285 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.308, allocations: 15.94 kB / 1.285 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/1.312, allocations: 2.756 MB / 1.288 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.313, allocations: 454.8 kB / 1.288 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/1.313, allocations: 39.89 kB / 1.289 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.314, allocations: 175.7 kB / 1.289 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.314, allocations: 96.22 kB / 1.289 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.315, allocations: 43.94 kB / 1.289 GB, free: 9.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001584/1.316, allocations: 1.009 MB / 1.29 GB, free: 8.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.316, allocations: 4 kB / 1.29 GB, free: 8.875 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004144/1.32, allocations: 1.133 MB / 1.291 GB, free: 7.742 MB / 1.029 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.003554/1.324, allocations: 3.352 MB / 1.294 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006144/1.33, allocations: 4.074 MB / 1.298 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.33, allocations: 0 / 1.298 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.331, allocations: 1.059 MB / 1.299 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.334, allocations: 448.8 kB / 1.3 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/1.366, allocations: 21.81 MB / 1.321 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/1.369, allocations: 2.868 MB / 1.324 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002794/1.372, allocations: 1.227 MB / 1.325 GB, free: 3.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.374, allocations: 1.272 MB / 1.326 GB, free: 2.023 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.374, allocations: 0 / 1.326 GB, free: 2.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08306/1.457, allocations: 47.89 MB / 1.373 GB, free: 2.516 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.66, allocations: 14.36 kB / 1.373 GB, free: 2.504 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches