Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001537/0.001537, allocations: 107.5 kB / 16.46 MB, free: 6.453 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.001745/0.001745, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.37/1.37, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.08/3.08, allocations: 0.49 GB / 0.7916 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",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.001943/0.001943, allocations: 72.16 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2011/0.5084, allocations: 179.7 MB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.5314, allocations: 15.84 MB / 1.512 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.533, allocations: 39.69 kB / 1.512 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.5352, allocations: 0.6362 MB / 1.512 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.5402, allocations: 1.618 MB / 1.514 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.5449, allocations: 1.709 MB / 1.516 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004321/0.5492, allocations: 2.922 MB / 1.519 GB, free: 8.156 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.552, allocations: 1.528 MB / 1.52 GB, free: 6.566 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.557, allocations: 1.668 MB / 1.522 GB, free: 4.926 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.559, allocations: 1.078 MB / 1.523 GB, free: 3.844 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006767/0.5597, allocations: 203.9 kB / 1.523 GB, free: 3.645 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.5631, allocations: 1.404 MB / 1.524 GB, free: 2.238 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009424/0.564, allocations: 0.5802 MB / 1.525 GB, free: 1.656 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.5658, allocations: 1.034 MB / 1.526 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.5712, allocations: 3.078 MB / 1.529 GB, free: 13.53 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5712, allocations: 0 / 1.529 GB, free: 13.53 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5712, allocations: 0 / 1.529 GB, free: 13.53 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.507e-05/0.5713, allocations: 0 / 1.529 GB, free: 13.53 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005718/0.577, allocations: 2.392 MB / 1.531 GB, free: 11.07 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5771, allocations: 19.98 kB / 1.531 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/0.5776, allocations: 240.3 kB / 1.531 GB, free: 10.8 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.5815, allocations: 0.5138 MB / 1.532 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.5839, allocations: 1.161 MB / 1.533 GB, free: 9.066 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.5841, allocations: 119.2 kB / 1.533 GB, free: 8.949 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.5844, allocations: 160 kB / 1.533 GB, free: 8.793 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003764/0.5882, allocations: 1.782 MB / 1.535 GB, free: 6.934 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5882, allocations: 7.938 kB / 1.535 GB, free: 6.926 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.5884, allocations: 68 kB / 1.535 GB, free: 6.859 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.5885, allocations: 51.98 kB / 1.535 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.5922, allocations: 1.772 MB / 1.537 GB, free: 5.031 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.6024, allocations: 6.313 MB / 1.543 GB, free: 14.32 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.6054, allocations: 1.485 MB / 1.545 GB, free: 12.77 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6065, allocations: 0.5074 MB / 1.545 GB, free: 12.27 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6075, allocations: 0.8867 MB / 1.546 GB, free: 11.2 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.6091, allocations: 0.801 MB / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 3.797e-06/0.6091, allocations: 0 / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.00526/0.6144, allocations: 1.895 MB / 1.549 GB, free: 8.453 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.6145, allocations: 204.9 kB / 1.549 GB, free: 8.207 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.6162, allocations: 1.008 MB / 1.55 GB, free: 7.184 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.6164, allocations: 57.7 kB / 1.55 GB, free: 7.121 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.617, allocations: 0.6776 MB / 1.55 GB, free: 6.434 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.6175, allocations: 440.2 kB / 1.551 GB, free: 6 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.6179, allocations: 214.9 kB / 1.551 GB, free: 5.785 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.618, allocations: 349.9 kB / 1.551 GB, free: 5.438 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.619, allocations: 426.4 kB / 1.552 GB, free: 5.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.6202, allocations: 0.6014 MB / 1.552 GB, free: 4.371 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6222, allocations: 1.015 MB / 1.553 GB, free: 3.336 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6223, allocations: 0 / 1.553 GB, free: 3.336 MB / 1.248 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003254/0.6255, allocations: 1.309 MB / 1.555 GB, free: 2.016 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.6255, allocations: 4.156 kB / 1.555 GB, free: 2.012 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6255, allocations: 8 kB / 1.555 GB, free: 2.004 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.6262, allocations: 84.77 kB / 1.555 GB, free: 1.918 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6275, allocations: 279.6 kB / 1.555 GB, free: 1.645 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.6298, allocations: 1.65 MB / 1.557 GB, free: 15.85 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6311, allocations: 143.1 kB / 1.557 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6312, allocations: 43.97 kB / 1.557 GB, free: 15.67 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008259/0.632, allocations: 381.6 kB / 1.557 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.6325, allocations: 147 kB / 1.557 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.6362, allocations: 1.602 MB / 1.559 GB, free: 13.52 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.6362, allocations: 16 kB / 1.559 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6362, allocations: 0 / 1.559 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6362, allocations: 7.969 kB / 1.559 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/0.6419, allocations: 3.191 MB / 1.562 GB, free: 10.24 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.642, allocations: 7.875 kB / 1.562 GB, free: 10.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.6432, allocations: 263.7 kB / 1.562 GB, free: 9.977 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.6437, allocations: 80.78 kB / 1.562 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/0.6438, allocations: 35.97 kB / 1.562 GB, free: 9.859 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.6459, allocations: 1.678 MB / 1.564 GB, free: 8.039 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6459, allocations: 0 / 1.564 GB, free: 8.039 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004591/0.6505, allocations: 2.187 MB / 1.566 GB, free: 5.832 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.6514, allocations: 411.6 kB / 1.567 GB, free: 5.41 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.6516, allocations: 28 kB / 1.567 GB, free: 5.383 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.6529, allocations: 83.97 kB / 1.567 GB, free: 5.301 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.6531, allocations: 97.19 kB / 1.567 GB, free: 5.207 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.6533, allocations: 55.95 kB / 1.567 GB, free: 5.152 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001165/0.6544, allocations: 0.7081 MB / 1.568 GB, free: 4.438 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6544, allocations: 0 / 1.568 GB, free: 4.438 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001674/0.6561, allocations: 0.5493 MB / 1.568 GB, free: 3.887 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006972/0.6631, allocations: 3.346 MB / 1.571 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.6658, allocations: 1.205 MB / 1.572 GB, free: 15.48 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.6658, allocations: 4.438 kB / 1.572 GB, free: 15.47 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.6673, allocations: 0.7088 MB / 1.573 GB, free: 14.75 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.6701, allocations: 0.584 MB / 1.574 GB, free: 14.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.6891, allocations: 10.16 MB / 1.584 GB, free: 3.852 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.6901, allocations: 1.303 MB / 1.585 GB, free: 2.52 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001676/0.6918, allocations: 442.9 kB / 1.585 GB, free: 2.082 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.6928, allocations: 0.6711 MB / 1.586 GB, free: 1.41 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/0.6928, allocations: 0 / 1.586 GB, free: 1.41 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6692/1.362, allocations: 37.85 MB / 1.623 GB, free: 272.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.23, allocations: 14 kB / 1.623 GB, free: 272.9 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 21.783178453100845]