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.001297/0.001297, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001396/0.001396, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.744/2.744, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002143/0.002143, allocations: 63.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.904, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1891/1.093, allocations: 135.9 MB / 1.287 GB, free: 5.793 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01878/1.112, allocations: 9.945 MB / 1.296 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/1.113, allocations: 33.81 kB / 1.296 GB, free: 15.1 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/1.114, allocations: 283 kB / 1.297 GB, free: 14.92 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004118/1.119, allocations: 1.008 MB / 1.298 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/1.122, allocations: 1.112 MB / 1.299 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003008/1.125, allocations: 1.746 MB / 1.3 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/1.127, allocations: 0.9186 MB / 1.301 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.129, allocations: 0.7671 MB / 1.302 GB, free: 11.87 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009163/1.13, allocations: 0.5743 MB / 1.303 GB, free: 11.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/1.13, allocations: 136.7 kB / 1.303 GB, free: 11.48 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/1.133, allocations: 1.012 MB / 1.304 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/1.134, allocations: 391.6 kB / 1.304 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/1.134, allocations: 0.5454 MB / 1.305 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/1.139, allocations: 2.277 MB / 1.307 GB, free: 8.797 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.139, allocations: 5.562 kB / 1.307 GB, free: 8.793 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.733e-06/1.139, allocations: 0 / 1.307 GB, free: 8.793 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.773e-05/1.139, allocations: 0 / 1.307 GB, free: 8.793 MB / 1.154 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.004037/1.143, allocations: 1.702 MB / 1.309 GB, free: 7.512 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/1.143, allocations: 8.688 kB / 1.309 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/1.145, allocations: 321.9 kB / 1.309 GB, free: 7.363 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/1.147, allocations: 0.864 MB / 1.31 GB, free: 6.707 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/1.147, allocations: 73.66 kB / 1.31 GB, free: 6.672 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.147, allocations: 95.12 kB / 1.31 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/1.15, allocations: 1.483 MB / 1.311 GB, free: 5.488 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.15, allocations: 4 kB / 1.311 GB, free: 5.484 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.15, allocations: 42.88 kB / 1.311 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/1.15, allocations: 23.47 kB / 1.311 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/1.152, allocations: 1.27 MB / 1.313 GB, free: 4.832 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/1.158, allocations: 2.576 MB / 1.315 GB, free: 2.965 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/1.16, allocations: 0.9729 MB / 1.316 GB, free: 2.383 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/1.161, allocations: 388.8 kB / 1.316 GB, free: 2 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/1.161, allocations: 64.78 kB / 1.316 GB, free: 1.938 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/1.163, allocations: 0.8474 MB / 1.317 GB, free: 1.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 2.856e-06/1.163, allocations: 4 kB / 1.317 GB, free: 1.012 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.004644/1.167, allocations: 1.481 MB / 1.319 GB, free: 15.52 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/1.167, allocations: 192.9 kB / 1.319 GB, free: 15.29 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.169, allocations: 0.7626 MB / 1.32 GB, free: 14.52 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.169, allocations: 49.7 kB / 1.32 GB, free: 14.46 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/1.169, allocations: 485.1 kB / 1.32 GB, free: 13.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/1.17, allocations: 329.2 kB / 1.321 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/1.17, allocations: 182.6 kB / 1.321 GB, free: 13.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.17, allocations: 349.9 kB / 1.321 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/1.171, allocations: 353.8 kB / 1.321 GB, free: 12.78 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.172, allocations: 0.675 MB / 1.322 GB, free: 12.03 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/1.174, allocations: 0.7882 MB / 1.323 GB, free: 11.23 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.174, allocations: 0 / 1.323 GB, free: 11.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002929/1.177, allocations: 1.084 MB / 1.324 GB, free: 10.14 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.177, allocations: 4 kB / 1.324 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.177, allocations: 0 / 1.324 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/1.178, allocations: 117.7 kB / 1.324 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009976/1.179, allocations: 211.7 kB / 1.324 GB, free: 9.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/1.182, allocations: 2.799 MB / 1.327 GB, free: 6.793 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.183, allocations: 115.5 kB / 1.327 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.184, allocations: 39.97 kB / 1.327 GB, free: 6.641 MB / 1.17 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.0008431/1.184, allocations: 299.7 kB / 1.327 GB, free: 6.34 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.185, allocations: 111.2 kB / 1.327 GB, free: 6.23 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/1.188, allocations: 1.314 MB / 1.329 GB, free: 4.902 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.188, allocations: 11.94 kB / 1.329 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.188, allocations: 7.938 kB / 1.329 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.188, allocations: 3.984 kB / 1.329 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/1.194, allocations: 2.123 MB / 1.331 GB, free: 2.711 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.194, allocations: 7.984 kB / 1.331 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/1.195, allocations: 187.8 kB / 1.331 GB, free: 2.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006433/1.195, allocations: 105.6 kB / 1.331 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/1.195, allocations: 27.98 kB / 1.331 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/1.199, allocations: 2.832 MB / 1.334 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.199, allocations: 0 / 1.334 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/1.202, allocations: 1.237 MB / 1.335 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/1.203, allocations: 246.8 kB / 1.335 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/1.203, allocations: 20 kB / 1.335 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.204, allocations: 75.91 kB / 1.335 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.204, allocations: 84.84 kB / 1.336 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.204, allocations: 43.97 kB / 1.336 GB, free: 13.62 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009835/1.205, allocations: 0.5537 MB / 1.336 GB, free: 13.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.205, allocations: 0 / 1.336 GB, free: 13.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001662/1.207, allocations: 462.8 kB / 1.337 GB, free: 12.61 MB / 1.186 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.002757/1.21, allocations: 0.7388 MB / 1.337 GB, free: 12.08 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002698/1.212, allocations: 1.107 MB / 1.338 GB, free: 10.94 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.212, allocations: 11.92 kB / 1.338 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.214, allocations: 0.7058 MB / 1.339 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.216, allocations: 344.8 kB / 1.339 GB, free: 9.887 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/1.221, allocations: 2.066 MB / 1.341 GB, free: 7.793 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/1.221, allocations: 0.5194 MB / 1.342 GB, free: 7.246 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001183/1.222, allocations: 307.4 kB / 1.342 GB, free: 6.941 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/1.223, allocations: 116.4 kB / 1.342 GB, free: 6.828 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/1.223, allocations: 4 kB / 1.342 GB, free: 6.824 MB / 1.186 GB Notification: Performance of Templates: time 0.04495/1.268, allocations: 20.21 MB / 1.362 GB, free: 2.961 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] 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: 10.096748465904966]