Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001315/0.001315, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.0014/0.0014, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.859/2.859, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [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.002117/0.002117, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8869/0.889, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1831/1.072, allocations: 135.9 MB / 1.319 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01683/1.089, allocations: 9.942 MB / 1.329 GB, free: 4.012 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/1.09, allocations: 27.75 kB / 1.329 GB, free: 3.984 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/1.091, allocations: 285.7 kB / 1.329 GB, free: 3.703 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00354/1.095, allocations: 1.016 MB / 1.33 GB, free: 2.691 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/1.098, allocations: 1.119 MB / 1.331 GB, free: 1.582 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002413/1.1, allocations: 1.748 MB / 1.333 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/1.102, allocations: 0.9242 MB / 1.334 GB, free: 14.87 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/1.104, allocations: 0.7512 MB / 1.335 GB, free: 14.13 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008459/1.105, allocations: 0.5832 MB / 1.335 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/1.105, allocations: 140 kB / 1.335 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/1.107, allocations: 1.018 MB / 1.336 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/1.107, allocations: 382.8 kB / 1.337 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/1.108, allocations: 0.5481 MB / 1.337 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/1.111, allocations: 2.269 MB / 1.34 GB, free: 9.188 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.111, allocations: 0 / 1.34 GB, free: 9.188 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.462e-06/1.111, allocations: 0 / 1.34 GB, free: 9.188 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.025e-05/1.111, allocations: 0 / 1.34 GB, free: 9.188 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003198/1.114, allocations: 1.714 MB / 1.341 GB, free: 7.434 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.114, allocations: 8.031 kB / 1.341 GB, free: 7.426 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.117, allocations: 318.9 kB / 1.342 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.118, allocations: 0.8536 MB / 1.342 GB, free: 6.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/1.118, allocations: 74 kB / 1.342 GB, free: 6.156 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.118, allocations: 100 kB / 1.343 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/1.121, allocations: 1.482 MB / 1.344 GB, free: 4.445 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/1.121, allocations: 3.938 kB / 1.344 GB, free: 4.441 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.121, allocations: 40 kB / 1.344 GB, free: 4.402 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.121, allocations: 24 kB / 1.344 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/1.123, allocations: 1.276 MB / 1.345 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/1.128, allocations: 2.588 MB / 1.348 GB, free: 476 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/1.13, allocations: 0.9771 MB / 1.349 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/1.131, allocations: 388.8 kB / 1.349 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/1.131, allocations: 48.95 kB / 1.349 GB, free: 15.05 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/1.133, allocations: 0.8514 MB / 1.35 GB, free: 14.13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.805e-06/1.133, allocations: 0 / 1.35 GB, free: 14.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.00442/1.137, allocations: 1.477 MB / 1.351 GB, free: 12.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.137, allocations: 196.9 kB / 1.352 GB, free: 12.41 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.138, allocations: 0.7703 MB / 1.352 GB, free: 11.62 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/1.138, allocations: 49.64 kB / 1.352 GB, free: 11.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/1.139, allocations: 485.1 kB / 1.353 GB, free: 11.09 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.139, allocations: 325.2 kB / 1.353 GB, free: 10.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.139, allocations: 186.6 kB / 1.353 GB, free: 10.58 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.14, allocations: 345.9 kB / 1.354 GB, free: 10.24 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007639/1.14, allocations: 357.8 kB / 1.354 GB, free: 9.887 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.141, allocations: 0.6633 MB / 1.355 GB, free: 9.152 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.143, allocations: 0.7882 MB / 1.356 GB, free: 8.352 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.143, allocations: 0 / 1.356 GB, free: 8.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00269/1.146, allocations: 1.088 MB / 1.357 GB, free: 7.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.146, allocations: 13.97 kB / 1.357 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.146, allocations: 0 / 1.357 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/1.146, allocations: 113.7 kB / 1.357 GB, free: 7.121 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009481/1.147, allocations: 207.7 kB / 1.357 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/1.151, allocations: 2.805 MB / 1.36 GB, free: 3.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009849/1.152, allocations: 103.5 kB / 1.36 GB, free: 3.797 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.152, allocations: 43.97 kB / 1.36 GB, free: 3.754 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (108): * Single equations (assignments): 106 * 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.0005752/1.152, allocations: 311.8 kB / 1.36 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.153, allocations: 111.3 kB / 1.36 GB, free: 3.332 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/1.156, allocations: 1.302 MB / 1.361 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.156, allocations: 12 kB / 1.361 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.156, allocations: 3.938 kB / 1.361 GB, free: 2 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.156, allocations: 7.984 kB / 1.361 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/1.16, allocations: 2.119 MB / 1.364 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.16, allocations: 0 / 1.364 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/1.161, allocations: 199.6 kB / 1.364 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006378/1.162, allocations: 101.6 kB / 1.364 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/1.162, allocations: 27.98 kB / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/1.165, allocations: 2.836 MB / 1.367 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.165, allocations: 4.031 kB / 1.367 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/1.168, allocations: 1.233 MB / 1.368 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/1.169, allocations: 235.1 kB / 1.368 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.169, allocations: 20 kB / 1.368 GB, free: 10.94 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009424/1.17, allocations: 83.91 kB / 1.368 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.17, allocations: 92.77 kB / 1.368 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.17, allocations: 39.97 kB / 1.368 GB, free: 10.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008244/1.171, allocations: 0.5459 MB / 1.369 GB, free: 10.18 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.171, allocations: 3.938 kB / 1.369 GB, free: 10.18 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00133/1.173, allocations: 470.8 kB / 1.369 GB, free: 9.719 MB / 1.217 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.002351/1.175, allocations: 0.7314 MB / 1.37 GB, free: 9.199 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002445/1.177, allocations: 1.111 MB / 1.371 GB, free: 8.062 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.177, allocations: 0 / 1.371 GB, free: 8.062 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.179, allocations: 0.7059 MB / 1.372 GB, free: 7.336 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.18, allocations: 350.9 kB / 1.372 GB, free: 7.016 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/1.184, allocations: 2.073 MB / 1.374 GB, free: 4.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/1.185, allocations: 0.5092 MB / 1.375 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001113/1.186, allocations: 307.3 kB / 1.375 GB, free: 4.066 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/1.186, allocations: 124.4 kB / 1.375 GB, free: 3.945 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/1.186, allocations: 0 / 1.375 GB, free: 3.945 MB / 1.217 GB Notification: Performance of Templates: time 0.03721/1.224, allocations: 20.2 MB / 1.395 GB, free: 44 kB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.881189086008817]