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.005392/0.005392, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001483/0.001483, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.452/2.452, allocations: 437.1 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2961, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04383/0.34, allocations: 37.27 MB / 1.203 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.3623, allocations: 13.7 MB / 1.216 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.365, allocations: 115.6 kB / 1.216 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005065/0.3701, allocations: 2.274 MB / 1.218 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.3733, allocations: 1.427 MB / 1.22 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007572/0.3809, allocations: 3.525 MB / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006725/0.3877, allocations: 6.395 MB / 1.229 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.3979, allocations: 9.89 MB / 1.239 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.4012, allocations: 2.731 MB / 1.242 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.4048, allocations: 3.198 MB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007711/0.4056, allocations: 0.6211 MB / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.4076, allocations: 1.256 MB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002165/0.4098, allocations: 2.484 MB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.565/0.9747, allocations: 2.546 MB / 1.252 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.9874, allocations: 9.182 MB / 1.261 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9874, allocations: 0.9375 kB / 1.261 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9874, allocations: 0.5625 kB / 1.261 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002305/0.9877, allocations: 0 / 1.261 GB, free: 28.68 MB / 0.9981 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.01202/0.9997, allocations: 4.406 MB / 1.265 GB, free: 27.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9997, allocations: 10.39 kB / 1.265 GB, free: 27.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/1.001, allocations: 0.6363 MB / 1.265 GB, free: 26.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/1.006, allocations: 1.055 MB / 1.266 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/1.01, allocations: 2.237 MB / 1.269 GB, free: 26.26 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/1.01, allocations: 325.8 kB / 1.269 GB, free: 26.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007059/1.011, allocations: 433.3 kB / 1.269 GB, free: 26.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.025, allocations: 7.408 MB / 1.277 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/1.025, allocations: 13 kB / 1.277 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005637/1.026, allocations: 185 kB / 1.277 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003018/1.026, allocations: 286.2 kB / 1.277 GB, free: 25.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/1.038, allocations: 6.02 MB / 1.283 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03319/1.071, allocations: 32.5 MB / 1.315 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.074, allocations: 2.145 MB / 1.317 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/1.075, allocations: 1.251 MB / 1.318 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/1.075, allocations: 103.2 kB / 1.318 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/1.075, allocations: 50.69 kB / 1.318 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 2.294e-06/1.075, allocations: 1.25 kB / 1.318 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.007985/1.083, allocations: 5.456 MB / 1.324 GB, free: 13.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/1.084, allocations: 144.7 kB / 1.324 GB, free: 13.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/1.086, allocations: 1.487 MB / 1.325 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.086, allocations: 42.58 kB / 1.325 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.087, allocations: 1.929 MB / 1.327 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.088, allocations: 392.9 kB / 1.327 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008301/1.089, allocations: 466.1 kB / 1.328 GB, free: 10.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.089, allocations: 301.1 kB / 1.328 GB, free: 9.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/1.091, allocations: 1.152 MB / 1.329 GB, free: 9.301 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.093, allocations: 2.208 MB / 1.331 GB, free: 7.262 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/1.098, allocations: 3.435 MB / 1.335 GB, free: 4.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.098, allocations: 9.906 kB / 1.335 GB, free: 4.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005175/1.103, allocations: 3.377 MB / 1.338 GB, free: 3.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.103, allocations: 20.12 kB / 1.338 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.103, allocations: 35.97 kB / 1.338 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.271e-05/1.103, allocations: 47.66 kB / 1.338 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.105, allocations: 0.6381 MB / 1.339 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-05/1.105, allocations: 68.34 kB / 1.339 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/1.107, allocations: 333.5 kB / 1.339 GB, free: 2.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/1.107, allocations: 112.2 kB / 1.339 GB, free: 2.836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003995/1.111, allocations: 2.439 MB / 1.342 GB, free: 1.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002248/1.114, allocations: 2.044 MB / 1.344 GB, free: 15.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003507/1.117, allocations: 3.062 MB / 1.347 GB, free: 13.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.284e-05/1.117, allocations: 10.03 kB / 1.347 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004279/1.121, allocations: 2.988 MB / 1.35 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.121, allocations: 19.56 kB / 1.35 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/1.121, allocations: 36.94 kB / 1.35 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.121, allocations: 47.31 kB / 1.35 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.123, allocations: 0.5655 MB / 1.35 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.547e-05/1.123, allocations: 79.44 kB / 1.35 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.125, allocations: 265.6 kB / 1.351 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.125, allocations: 114.4 kB / 1.351 GB, free: 11.52 MB / 1.029 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.0005116/1.126, allocations: 331.9 kB / 1.351 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/1.126, allocations: 162.5 kB / 1.351 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/1.129, allocations: 2.251 MB / 1.353 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.129, allocations: 18.62 kB / 1.353 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.129, allocations: 0 / 1.353 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.129, allocations: 10.52 kB / 1.353 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.143, allocations: 10.99 MB / 1.364 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.143, allocations: 12 kB / 1.364 GB, free: 3.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.145, allocations: 386.7 kB / 1.364 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/1.145, allocations: 19.98 kB / 1.365 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.786e-05/1.145, allocations: 32 kB / 1.365 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/1.145, allocations: 19.66 kB / 1.365 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.919e-05/1.145, allocations: 16.59 kB / 1.365 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/1.149, allocations: 2.775 MB / 1.367 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.15, allocations: 461.2 kB / 1.368 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.15, allocations: 43.92 kB / 1.368 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.152, allocations: 175.7 kB / 1.368 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.152, allocations: 93.45 kB / 1.368 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/1.152, allocations: 43.98 kB / 1.368 GB, free: 15.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001631/1.154, allocations: 1.009 MB / 1.369 GB, free: 14.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.21e-07/1.154, allocations: 0 / 1.369 GB, free: 14.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004339/1.158, allocations: 1.133 MB / 1.37 GB, free: 12.9 MB / 1.045 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.003777/1.162, allocations: 3.351 MB / 1.373 GB, free: 9.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006447/1.168, allocations: 4.074 MB / 1.377 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.168, allocations: 0 / 1.377 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.17, allocations: 1.059 MB / 1.378 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.172, allocations: 453.8 kB / 1.379 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/1.209, allocations: 21.94 MB / 1.4 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003172/1.212, allocations: 2.862 MB / 1.403 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002853/1.215, allocations: 1.223 MB / 1.404 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.217, allocations: 1.272 MB / 1.406 GB, free: 7.547 MB / 1.076 GB Notification: Performance of SimCode: time 8.82e-07/1.217, allocations: 0 / 1.406 GB, free: 7.547 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/1.384, allocations: 47.75 MB / 1.452 GB, free: 8.348 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.58, allocations: 3.75 kB / 1.452 GB, free: 8.344 MB / 1.123 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=400 --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