Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 218.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.83 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 169.9 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2106/0.5237, allocations: 172 MB / 1.452 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02867/0.5524, allocations: 17.72 MB / 1.469 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.5541, allocations: 43.62 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.5564, allocations: 0.6051 MB / 1.47 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.5628, allocations: 1.85 MB / 1.472 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.5675, allocations: 1.499 MB / 1.473 GB, free: 9.137 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004633/0.5722, allocations: 2.898 MB / 1.476 GB, free: 6.227 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.5752, allocations: 1.61 MB / 1.478 GB, free: 4.559 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.58, allocations: 1.518 MB / 1.479 GB, free: 3.086 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.5822, allocations: 1.155 MB / 1.48 GB, free: 1.926 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006958/0.5829, allocations: 224 kB / 1.481 GB, free: 1.707 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.5868, allocations: 1.665 MB / 1.482 GB, free: 40 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.588, allocations: 0.8139 MB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.5907, allocations: 1.279 MB / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00774/0.5984, allocations: 3.798 MB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5984, allocations: 0 / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5984, allocations: 0 / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001436/0.5986, allocations: 0 / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007616/0.6062, allocations: 2.95 MB / 1.491 GB, free: 7.121 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6062, allocations: 8.031 kB / 1.491 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.537e-05/0.6063, allocations: 43.38 kB / 1.491 GB, free: 7.07 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005186/0.6068, allocations: 248.8 kB / 1.491 GB, free: 6.816 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.6116, allocations: 0.6345 MB / 1.492 GB, free: 6.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/0.6171, allocations: 3.362 MB / 1.495 GB, free: 2.781 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6173, allocations: 123.4 kB / 1.495 GB, free: 2.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004063/0.6177, allocations: 179.9 kB / 1.495 GB, free: 2.484 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.622, allocations: 1.941 MB / 1.497 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.622, allocations: 0 / 1.497 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.6222, allocations: 68 kB / 1.497 GB, free: 436 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.6223, allocations: 51.98 kB / 1.497 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.6264, allocations: 2.085 MB / 1.499 GB, free: 14.28 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.6386, allocations: 6.512 MB / 1.506 GB, free: 7.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.6424, allocations: 1.694 MB / 1.507 GB, free: 5.73 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.6438, allocations: 0.7029 MB / 1.508 GB, free: 5.027 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/0.6443, allocations: 129.2 kB / 1.508 GB, free: 4.902 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/0.6465, allocations: 0.9973 MB / 1.509 GB, free: 3.887 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 4.288e-06/0.6465, allocations: 3.938 kB / 1.509 GB, free: 3.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007824/0.6543, allocations: 2.605 MB / 1.512 GB, free: 1.254 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.6544, allocations: 201.2 kB / 1.512 GB, free: 1.016 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005839/0.6603, allocations: 4.077 MB / 1.516 GB, free: 12.93 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003817/0.6607, allocations: 61.69 kB / 1.516 GB, free: 12.86 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6617, allocations: 0.9114 MB / 1.517 GB, free: 11.94 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000783/0.6625, allocations: 0.4918 MB / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/0.6631, allocations: 234.8 kB / 1.518 GB, free: 11.21 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.6633, allocations: 357.9 kB / 1.518 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.6646, allocations: 0.5687 MB / 1.518 GB, free: 10.29 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.6661, allocations: 0.793 MB / 1.519 GB, free: 9.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.6688, allocations: 1.306 MB / 1.52 GB, free: 8.117 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6688, allocations: 0 / 1.52 GB, free: 8.117 MB / 1.217 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004613/0.6734, allocations: 1.784 MB / 1.522 GB, free: 6.309 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6735, allocations: 4 kB / 1.522 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6735, allocations: 0 / 1.522 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.6747, allocations: 228.1 kB / 1.522 GB, free: 6.066 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.6763, allocations: 315.6 kB / 1.523 GB, free: 5.758 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.6833, allocations: 6.809 MB / 1.529 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.685, allocations: 159.1 kB / 1.53 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.6852, allocations: 51.95 kB / 1.53 GB, free: 14.17 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.6864, allocations: 486.4 kB / 1.53 GB, free: 13.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008351/0.6872, allocations: 198.7 kB / 1.53 GB, free: 13.49 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/0.6928, allocations: 2.146 MB / 1.532 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.6928, allocations: 12 kB / 1.532 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.6928, allocations: 7.938 kB / 1.532 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.6928, allocations: 7.969 kB / 1.532 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009187/0.702, allocations: 4.091 MB / 1.536 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.702, allocations: 0 / 1.536 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.7035, allocations: 311.6 kB / 1.537 GB, free: 6.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009684/0.7045, allocations: 212.1 kB / 1.537 GB, free: 6.594 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.7046, allocations: 39.97 kB / 1.537 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006833/0.7114, allocations: 6.852 MB / 1.544 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7114, allocations: 4.125 kB / 1.544 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.7163, allocations: 2.013 MB / 1.546 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.7176, allocations: 462 kB / 1.546 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.7179, allocations: 31.94 kB / 1.546 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.7193, allocations: 106.9 kB / 1.546 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.7196, allocations: 117.1 kB / 1.546 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/0.7198, allocations: 71.94 kB / 1.546 GB, free: 12.3 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004146/0.724, allocations: 3.136 MB / 1.549 GB, free: 9.168 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.5e-07/0.724, allocations: 0 / 1.549 GB, free: 9.168 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002699/0.7267, allocations: 0.6937 MB / 1.55 GB, free: 8.473 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007296/0.7339, allocations: 3.211 MB / 1.553 GB, free: 5.406 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003899/0.7378, allocations: 1.996 MB / 1.555 GB, free: 3.344 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7379, allocations: 4.656 kB / 1.555 GB, free: 3.34 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.7403, allocations: 1.36 MB / 1.556 GB, free: 1.918 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.7435, allocations: 0.5476 MB / 1.557 GB, free: 1.391 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0361/0.7796, allocations: 20.9 MB / 1.577 GB, free: 12.23 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.7811, allocations: 1.533 MB / 1.579 GB, free: 10.67 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002179/0.7832, allocations: 0.5251 MB / 1.579 GB, free: 10.14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.7847, allocations: 0.9132 MB / 1.58 GB, free: 9.223 MB / 1.279 GB Notification: Performance of SimCode: time 1.332e-06/0.7847, allocations: 0 / 1.58 GB, free: 9.223 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7962/1.581, allocations: 50.54 MB / 1.63 GB, free: 308 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/19.3, allocations: 5.719 kB / 1.63 GB, free: 308 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.482289979991037]