Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_10_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.007933/0.007933, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001633/0.001633, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8505, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04099/0.8916, allocations: 37.27 MB / 1.203 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.9157, allocations: 13.69 MB / 1.216 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.9198, allocations: 115.6 kB / 1.216 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006872/0.9267, allocations: 2.295 MB / 1.218 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.9322, allocations: 1.447 MB / 1.22 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.9422, allocations: 3.52 MB / 1.223 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008335/0.9505, allocations: 6.414 MB / 1.229 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/0.9643, allocations: 9.88 MB / 1.239 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.969, allocations: 2.762 MB / 1.242 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005297/0.9743, allocations: 3.21 MB / 1.245 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00207/0.9764, allocations: 0.6172 MB / 1.245 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/0.9802, allocations: 1.256 MB / 1.247 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004267/0.9845, allocations: 2.476 MB / 1.249 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005972/0.9905, allocations: 2.549 MB / 1.252 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.004, allocations: 9.162 MB / 1.261 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.004, allocations: 0 / 1.261 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/1.004, allocations: 4 kB / 1.261 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003268/1.004, allocations: 0 / 1.261 GB, free: 2.75 MB / 0.9825 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.01264/1.017, allocations: 4.31 MB / 1.265 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/1.017, allocations: 12.62 kB / 1.265 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002191/1.019, allocations: 0.6365 MB / 1.265 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/1.025, allocations: 1.034 MB / 1.266 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/1.03, allocations: 2.23 MB / 1.269 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/1.031, allocations: 321 kB / 1.269 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/1.033, allocations: 432.2 kB / 1.269 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/1.052, allocations: 7.412 MB / 1.277 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/1.052, allocations: 7.938 kB / 1.277 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/1.054, allocations: 184 kB / 1.277 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003651/1.054, allocations: 290.9 kB / 1.277 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/1.066, allocations: 6.026 MB / 1.283 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/1.111, allocations: 32.45 MB / 1.315 GB, free: 8.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.115, allocations: 2.142 MB / 1.317 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/1.117, allocations: 1.236 MB / 1.318 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/1.117, allocations: 114.1 kB / 1.318 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.117, allocations: 47.5 kB / 1.318 GB, free: 4.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 2.826e-06/1.117, allocations: 0 / 1.318 GB, free: 4.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.008605/1.126, allocations: 5.278 MB / 1.323 GB, free: 15.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/1.126, allocations: 141.5 kB / 1.323 GB, free: 15.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.128, allocations: 1.472 MB / 1.325 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.128, allocations: 49.7 kB / 1.325 GB, free: 13.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.13, allocations: 1.855 MB / 1.327 GB, free: 11.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/1.13, allocations: 378.8 kB / 1.327 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007371/1.131, allocations: 459.1 kB / 1.327 GB, free: 10.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/1.131, allocations: 305.1 kB / 1.328 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/1.133, allocations: 1.145 MB / 1.329 GB, free: 9.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/1.135, allocations: 2.211 MB / 1.331 GB, free: 6.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.14, allocations: 3.434 MB / 1.334 GB, free: 2.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/1.14, allocations: 12 kB / 1.334 GB, free: 2.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005805/1.145, allocations: 3.37 MB / 1.338 GB, free: 15.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/1.145, allocations: 23.94 kB / 1.338 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/1.146, allocations: 36 kB / 1.338 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.955e-05/1.146, allocations: 47.94 kB / 1.338 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.148, allocations: 0.636 MB / 1.338 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-05/1.148, allocations: 71.72 kB / 1.338 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.15, allocations: 326.6 kB / 1.339 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.15, allocations: 116 kB / 1.339 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003682/1.154, allocations: 2.436 MB / 1.341 GB, free: 11.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002303/1.156, allocations: 2.043 MB / 1.343 GB, free: 9.086 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003882/1.16, allocations: 3.064 MB / 1.346 GB, free: 5.531 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-05/1.16, allocations: 8 kB / 1.346 GB, free: 5.523 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006042/1.166, allocations: 2.976 MB / 1.349 GB, free: 2.543 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/1.166, allocations: 20 kB / 1.349 GB, free: 2.523 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.656e-05/1.166, allocations: 36 kB / 1.349 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.062e-05/1.167, allocations: 48 kB / 1.349 GB, free: 2.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/1.169, allocations: 0.5657 MB / 1.35 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.1e-05/1.169, allocations: 79.66 kB / 1.35 GB, free: 1.797 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/1.171, allocations: 263 kB / 1.35 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/1.171, allocations: 116 kB / 1.35 GB, free: 1.426 MB / 1.076 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.0007211/1.172, allocations: 331.3 kB / 1.351 GB, free: 1.094 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/1.172, allocations: 154.1 kB / 1.351 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/1.176, allocations: 2.25 MB / 1.353 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.176, allocations: 11.94 kB / 1.353 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.176, allocations: 4 kB / 1.353 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.176, allocations: 7.984 kB / 1.353 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/1.194, allocations: 11 MB / 1.364 GB, free: 3.406 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.194, allocations: 12 kB / 1.364 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.196, allocations: 395.3 kB / 1.364 GB, free: 3.008 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.97e-05/1.196, allocations: 16 kB / 1.364 GB, free: 2.992 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/1.196, allocations: 28 kB / 1.364 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.909e-05/1.196, allocations: 19.94 kB / 1.364 GB, free: 2.945 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.196, allocations: 15.94 kB / 1.364 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/1.2, allocations: 2.771 MB / 1.367 GB, free: 15.99 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/1.201, allocations: 454.7 kB / 1.367 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/1.201, allocations: 35.98 kB / 1.367 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.203, allocations: 175.7 kB / 1.367 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.203, allocations: 96.22 kB / 1.368 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/1.203, allocations: 43.94 kB / 1.368 GB, free: 15.19 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001874/1.205, allocations: 1.002 MB / 1.369 GB, free: 14.19 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.3e-07/1.205, allocations: 0 / 1.369 GB, free: 14.19 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005032/1.21, allocations: 1.133 MB / 1.37 GB, free: 13.05 MB / 1.107 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.004185/1.214, allocations: 3.348 MB / 1.373 GB, free: 9.531 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006525/1.221, allocations: 4.067 MB / 1.377 GB, free: 5.48 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.221, allocations: 8.062 kB / 1.377 GB, free: 5.473 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.222, allocations: 1.056 MB / 1.378 GB, free: 4.422 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.225, allocations: 458.2 kB / 1.378 GB, free: 4.004 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/1.261, allocations: 21.81 MB / 1.4 GB, free: 12.74 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004534/1.265, allocations: 2.872 MB / 1.402 GB, free: 9.836 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003322/1.268, allocations: 1.219 MB / 1.404 GB, free: 8.609 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/1.271, allocations: 1.276 MB / 1.405 GB, free: 7.332 MB / 1.139 GB Notification: Performance of SimCode: time 1.162e-06/1.271, allocations: 4 kB / 1.405 GB, free: 7.328 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0821/1.353, allocations: 47.75 MB / 1.452 GB, free: 7.945 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.83, allocations: 16.44 kB / 1.452 GB, free: 7.934 MB / 1.186 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches