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.001499/0.001499, 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.001667/0.001667, allocations: 217.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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.832/2.832, allocations: 0.49 GB / 0.7959 GB, free: 33.39 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001802/0.001802, allocations: 62.31 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2756, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1948/0.4704, allocations: 180 MB / 1.502 GB, free: 13.31 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.491, allocations: 16.04 MB / 1.518 GB, free: 13.22 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.4923, allocations: 43.69 kB / 1.518 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.4939, allocations: 0.6401 MB / 1.519 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.498, allocations: 1.63 MB / 1.52 GB, free: 10.9 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.5021, allocations: 1.752 MB / 1.522 GB, free: 9.156 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00383/0.506, allocations: 2.937 MB / 1.525 GB, free: 6.207 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.5084, allocations: 1.494 MB / 1.526 GB, free: 4.656 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004668/0.513, allocations: 1.68 MB / 1.528 GB, free: 3.008 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.5148, allocations: 1.078 MB / 1.529 GB, free: 1.926 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.5153, allocations: 200 kB / 1.529 GB, free: 1.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.5182, allocations: 1.419 MB / 1.531 GB, free: 316 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007102/0.5189, allocations: 0.5801 MB / 1.531 GB, free: 15.73 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.5203, allocations: 1.038 MB / 1.532 GB, free: 14.68 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.5251, allocations: 3.078 MB / 1.535 GB, free: 11.59 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5251, allocations: 4 kB / 1.535 GB, free: 11.59 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5251, allocations: 0 / 1.535 GB, free: 11.59 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.857e-05/0.5252, allocations: 0 / 1.535 GB, free: 11.59 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.004737/0.5299, allocations: 2.325 MB / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.53, allocations: 8.031 kB / 1.537 GB, free: 9.207 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.659e-05/0.53, allocations: 43.2 kB / 1.538 GB, free: 9.164 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003218/0.5303, allocations: 236.4 kB / 1.538 GB, free: 8.922 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.5338, allocations: 0.5216 MB / 1.538 GB, free: 8.398 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.5358, allocations: 1.069 MB / 1.539 GB, free: 7.289 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5359, allocations: 119.2 kB / 1.539 GB, free: 7.172 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.5361, allocations: 163.9 kB / 1.54 GB, free: 7.012 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.5392, allocations: 1.784 MB / 1.541 GB, free: 5.148 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.5392, allocations: 3.938 kB / 1.541 GB, free: 5.145 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.5394, allocations: 72 kB / 1.541 GB, free: 5.074 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.5394, allocations: 44 kB / 1.541 GB, free: 5.031 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.5426, allocations: 1.78 MB / 1.543 GB, free: 3.246 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008644/0.5513, allocations: 6.238 MB / 1.549 GB, free: 12.61 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5538, allocations: 1.265 MB / 1.55 GB, free: 11.34 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009962/0.5548, allocations: 0.5197 MB / 1.551 GB, free: 10.81 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/0.5553, allocations: 136.9 kB / 1.551 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.5568, allocations: 0.8011 MB / 1.552 GB, free: 9.863 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 3.176e-06/0.5568, allocations: 0 / 1.552 GB, free: 9.863 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.004627/0.5614, allocations: 1.816 MB / 1.554 GB, free: 8.035 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5615, allocations: 196.9 kB / 1.554 GB, free: 7.801 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5629, allocations: 1.012 MB / 1.555 GB, free: 6.773 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.563, allocations: 57.64 kB / 1.555 GB, free: 6.711 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.5636, allocations: 0.6777 MB / 1.556 GB, free: 6.023 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.564, allocations: 440.2 kB / 1.556 GB, free: 5.59 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.5643, allocations: 214.9 kB / 1.556 GB, free: 5.371 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5645, allocations: 345.9 kB / 1.557 GB, free: 5.027 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008588/0.5653, allocations: 426.4 kB / 1.557 GB, free: 4.613 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5664, allocations: 0.6014 MB / 1.558 GB, free: 3.961 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.5683, allocations: 1.011 MB / 1.559 GB, free: 2.926 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5683, allocations: 4 kB / 1.559 GB, free: 2.922 MB / 1.248 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002987/0.5712, allocations: 1.309 MB / 1.56 GB, free: 1.602 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5713, allocations: 8 kB / 1.56 GB, free: 1.594 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5713, allocations: 4.156 kB / 1.56 GB, free: 1.59 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.5719, allocations: 80.78 kB / 1.56 GB, free: 1.508 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5731, allocations: 291.5 kB / 1.56 GB, free: 1.223 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.5752, allocations: 1.547 MB / 1.562 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.5763, allocations: 131.2 kB / 1.562 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.5764, allocations: 43.97 kB / 1.562 GB, free: 15.38 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.0007177/0.5771, allocations: 385.7 kB / 1.562 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.5775, allocations: 147 kB / 1.562 GB, free: 14.85 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.581, allocations: 1.61 MB / 1.564 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.581, allocations: 12 kB / 1.564 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.581, allocations: 3.938 kB / 1.564 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.5811, allocations: 11.91 kB / 1.564 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.5867, allocations: 3.162 MB / 1.567 GB, free: 9.98 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5867, allocations: 8 kB / 1.567 GB, free: 9.973 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.5879, allocations: 263.7 kB / 1.567 GB, free: 9.715 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.5883, allocations: 76.78 kB / 1.567 GB, free: 9.637 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/0.5884, allocations: 35.97 kB / 1.567 GB, free: 9.602 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.5903, allocations: 1.563 MB / 1.569 GB, free: 7.922 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5903, allocations: 11.94 kB / 1.569 GB, free: 7.91 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.5945, allocations: 2.183 MB / 1.571 GB, free: 5.703 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.5952, allocations: 330.5 kB / 1.571 GB, free: 5.379 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.5955, allocations: 28 kB / 1.571 GB, free: 5.352 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.5965, allocations: 88.03 kB / 1.572 GB, free: 5.266 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.5967, allocations: 105.1 kB / 1.572 GB, free: 5.164 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.5968, allocations: 63.95 kB / 1.572 GB, free: 5.102 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00098/0.5978, allocations: 0.7002 MB / 1.572 GB, free: 4.395 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5978, allocations: 0 / 1.572 GB, free: 4.395 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001352/0.5992, allocations: 0.5532 MB / 1.573 GB, free: 3.84 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.00637/0.6055, allocations: 3.338 MB / 1.576 GB, free: 0.6523 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.6081, allocations: 1.201 MB / 1.577 GB, free: 15.43 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6081, allocations: 4.562 kB / 1.577 GB, free: 15.43 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.6094, allocations: 0.7127 MB / 1.578 GB, free: 14.71 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.6117, allocations: 0.5745 MB / 1.579 GB, free: 14.16 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.6289, allocations: 10.17 MB / 1.589 GB, free: 3.816 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.6299, allocations: 1.307 MB / 1.59 GB, free: 2.477 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001406/0.6313, allocations: 439 kB / 1.59 GB, free: 2.043 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009881/0.6323, allocations: 0.6789 MB / 1.591 GB, free: 1.363 MB / 1.279 GB Notification: Performance of SimCode: time 7.42e-07/0.6323, allocations: 0 / 1.591 GB, free: 1.363 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6101/1.242, allocations: 38.77 MB / 1.629 GB, free: 271 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.57, allocations: 7.391 kB / 1.629 GB, free: 271 MB / 1.295 GB " [Timeout remaining time 284] (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.806609883031342]