Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001319/0.001319, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001352/0.001352, allocations: 221.8 kB / 22.26 MB, free: 5.125 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.984 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.885/2.885, allocations: 0.49 GB / 0.7951 GB, free: 33.57 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_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.00184/0.00184, allocations: 66.09 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1638/0.4363, allocations: 158 MB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.4503, allocations: 10.85 MB / 1.491 GB, free: 8.484 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/0.4511, allocations: 23.81 kB / 1.491 GB, free: 8.461 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008932/0.452, allocations: 297.6 kB / 1.491 GB, free: 8.168 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.4546, allocations: 1.012 MB / 1.492 GB, free: 7.156 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.457, allocations: 1.131 MB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.459, allocations: 1.76 MB / 1.495 GB, free: 4.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.4603, allocations: 0.9437 MB / 1.496 GB, free: 3.289 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.462, allocations: 0.755 MB / 1.497 GB, free: 2.543 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008927/0.4629, allocations: 0.6379 MB / 1.497 GB, free: 1.902 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.4632, allocations: 136 kB / 1.497 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.465, allocations: 1.123 MB / 1.498 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.4654, allocations: 390.8 kB / 1.499 GB, free: 268 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.4661, allocations: 0.684 MB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.4689, allocations: 2.288 MB / 1.502 GB, free: 13.28 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4689, allocations: 0 / 1.502 GB, free: 13.28 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.123e-06/0.4689, allocations: 0 / 1.502 GB, free: 13.28 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.4689, allocations: 3.938 kB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002859/0.4718, allocations: 1.726 MB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4718, allocations: 12.03 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.472, allocations: 152.1 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.474, allocations: 322.8 kB / 1.504 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.4755, allocations: 1.037 MB / 1.505 GB, free: 9.961 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.4756, allocations: 74 kB / 1.505 GB, free: 9.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4757, allocations: 95.94 kB / 1.505 GB, free: 9.793 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4775, allocations: 1.11 MB / 1.506 GB, free: 8.645 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4775, allocations: 3.938 kB / 1.506 GB, free: 8.641 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/0.4776, allocations: 40 kB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.4776, allocations: 24 kB / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4798, allocations: 1.323 MB / 1.507 GB, free: 7.25 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.4849, allocations: 3.466 MB / 1.511 GB, free: 3.617 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.4868, allocations: 0.9806 MB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.4875, allocations: 393.3 kB / 1.512 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.4877, allocations: 60.88 kB / 1.512 GB, free: 2.184 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.4888, allocations: 0.6254 MB / 1.513 GB, free: 1.539 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.265e-06/0.4888, allocations: 4 kB / 1.513 GB, free: 1.535 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.00392/0.4927, allocations: 1.485 MB / 1.514 GB, free: 40 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.4928, allocations: 196.9 kB / 1.514 GB, free: 15.8 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.494, allocations: 1.056 MB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.4941, allocations: 45.7 kB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.4945, allocations: 485.2 kB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.4947, allocations: 321.2 kB / 1.516 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.495, allocations: 174.5 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4951, allocations: 338 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/0.4958, allocations: 337.8 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.4966, allocations: 465.1 kB / 1.518 GB, free: 12.56 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.498, allocations: 0.7648 MB / 1.518 GB, free: 11.79 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.498, allocations: 0 / 1.518 GB, free: 11.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002347/0.5003, allocations: 1.049 MB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5004, allocations: 9.719 kB / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5004, allocations: 0 / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/0.5011, allocations: 113.7 kB / 1.519 GB, free: 10.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.5019, allocations: 199.7 kB / 1.52 GB, free: 10.4 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.5049, allocations: 2.865 MB / 1.522 GB, free: 7.301 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.5057, allocations: 108.8 kB / 1.523 GB, free: 7.195 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.5058, allocations: 36.03 kB / 1.523 GB, free: 7.16 MB / 1.217 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.5062, allocations: 317.5 kB / 1.523 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5064, allocations: 107.5 kB / 1.523 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.5092, allocations: 1.326 MB / 1.524 GB, free: 5.387 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5092, allocations: 8 kB / 1.524 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5092, allocations: 4 kB / 1.524 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.5092, allocations: 3.984 kB / 1.524 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.5134, allocations: 2.427 MB / 1.527 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5134, allocations: 0 / 1.527 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.5141, allocations: 187.8 kB / 1.527 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005493/0.5147, allocations: 109.5 kB / 1.527 GB, free: 2.594 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.5148, allocations: 31.97 kB / 1.527 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.5176, allocations: 2.894 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5176, allocations: 0 / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.5202, allocations: 1.237 MB / 1.531 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.5207, allocations: 254.9 kB / 1.531 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5209, allocations: 20 kB / 1.531 GB, free: 13.9 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.5217, allocations: 75.92 kB / 1.531 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.5219, allocations: 92.77 kB / 1.531 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/0.522, allocations: 39.97 kB / 1.531 GB, free: 13.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009422/0.5229, allocations: 0.7684 MB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5229, allocations: 4 kB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001152/0.5241, allocations: 458.9 kB / 1.533 GB, free: 12.48 MB / 1.232 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004885/0.529, allocations: 2.388 MB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.5312, allocations: 1.08 MB / 1.536 GB, free: 9.141 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5312, allocations: 0 / 1.536 GB, free: 9.141 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.5324, allocations: 0.7099 MB / 1.537 GB, free: 8.406 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5338, allocations: 367.6 kB / 1.537 GB, free: 8.07 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.5469, allocations: 8.452 MB / 1.545 GB, free: 15.47 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.5477, allocations: 1.113 MB / 1.546 GB, free: 14.33 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000916/0.5486, allocations: 320 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.5492, allocations: 471.2 kB / 1.547 GB, free: 13.56 MB / 1.248 GB Notification: Performance of SimCode: time 6.11e-07/0.5492, allocations: 0 / 1.547 GB, free: 13.56 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07054/0.6198, allocations: 29.36 MB / 1.576 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.32, allocations: 0 / 1.576 GB, free: 0.4922 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 20.411989875137806]