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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 113.8 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 192.7 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9434, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1958/1.139, allocations: 154.5 MB / 1.413 GB, free: 5.586 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01734/1.157, allocations: 10.54 MB / 1.424 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/1.158, allocations: 22.31 kB / 1.424 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/1.159, allocations: 290.5 kB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003918/1.163, allocations: 0.9615 MB / 1.425 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/1.166, allocations: 1.088 MB / 1.426 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002748/1.169, allocations: 1.721 MB / 1.428 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/1.171, allocations: 1.149 MB / 1.429 GB, free: 9.512 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/1.173, allocations: 0.7106 MB / 1.43 GB, free: 9.094 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/1.174, allocations: 0.6248 MB / 1.43 GB, free: 8.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/1.175, allocations: 133.9 kB / 1.43 GB, free: 8.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/1.177, allocations: 1.031 MB / 1.431 GB, free: 8.176 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004396/1.178, allocations: 383.5 kB / 1.432 GB, free: 7.887 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007599/1.178, allocations: 0.6738 MB / 1.432 GB, free: 7.395 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/1.182, allocations: 2.213 MB / 1.435 GB, free: 5.859 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.182, allocations: 1.156 kB / 1.435 GB, free: 5.859 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.387e-06/1.182, allocations: 7.984 kB / 1.435 GB, free: 5.852 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.495e-05/1.182, allocations: 0 / 1.435 GB, free: 5.852 MB / 1.123 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.003698/1.186, allocations: 1.749 MB / 1.436 GB, free: 4.492 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.186, allocations: 9.625 kB / 1.436 GB, free: 4.492 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/1.188, allocations: 272.5 kB / 1.436 GB, free: 4.363 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.189, allocations: 0.9225 MB / 1.437 GB, free: 3.633 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/1.189, allocations: 78.59 kB / 1.437 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.189, allocations: 91.69 kB / 1.438 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/1.191, allocations: 1.107 MB / 1.439 GB, free: 2.879 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.191, allocations: 3.938 kB / 1.439 GB, free: 2.875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.191, allocations: 41.75 kB / 1.439 GB, free: 2.844 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/1.191, allocations: 24 kB / 1.439 GB, free: 2.844 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/1.194, allocations: 1.318 MB / 1.44 GB, free: 2.223 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/1.199, allocations: 3.466 MB / 1.443 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.201, allocations: 1.116 MB / 1.444 GB, free: 13.49 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/1.202, allocations: 421.7 kB / 1.445 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/1.203, allocations: 138 kB / 1.445 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/1.204, allocations: 0.6177 MB / 1.446 GB, free: 12.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/1.204, allocations: 0 / 1.446 GB, free: 12.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=95): time 0.004414/1.208, allocations: 1.64 MB / 1.447 GB, free: 10.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.208, allocations: 192.9 kB / 1.447 GB, free: 10.37 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.209, allocations: 0.8057 MB / 1.448 GB, free: 9.551 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.21, allocations: 45.7 kB / 1.448 GB, free: 9.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/1.21, allocations: 473.2 kB / 1.449 GB, free: 9.031 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.21, allocations: 321.2 kB / 1.449 GB, free: 8.715 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/1.211, allocations: 186.6 kB / 1.449 GB, free: 8.527 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.211, allocations: 341.9 kB / 1.449 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/1.212, allocations: 353.8 kB / 1.45 GB, free: 7.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/1.213, allocations: 477.6 kB / 1.45 GB, free: 7.352 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.214, allocations: 0.7843 MB / 1.451 GB, free: 6.559 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.214, allocations: 11.92 kB / 1.451 GB, free: 6.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00272/1.217, allocations: 1.088 MB / 1.452 GB, free: 5.441 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.217, allocations: 4 kB / 1.452 GB, free: 5.438 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.217, allocations: 0 / 1.452 GB, free: 5.438 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007484/1.218, allocations: 117.7 kB / 1.452 GB, free: 5.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/1.219, allocations: 211.7 kB / 1.452 GB, free: 5.109 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/1.222, allocations: 3.061 MB / 1.455 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.224, allocations: 115.4 kB / 1.456 GB, free: 1.652 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.224, allocations: 47.97 kB / 1.456 GB, free: 1.605 MB / 1.139 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.0006452/1.224, allocations: 318.8 kB / 1.456 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/1.225, allocations: 103.3 kB / 1.456 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.228, allocations: 1.326 MB / 1.457 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.228, allocations: 12 kB / 1.457 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.228, allocations: 0 / 1.457 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.228, allocations: 3.984 kB / 1.457 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/1.232, allocations: 2.416 MB / 1.46 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.232, allocations: 4 kB / 1.46 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/1.233, allocations: 187.7 kB / 1.46 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/1.234, allocations: 105.6 kB / 1.46 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/1.234, allocations: 31.92 kB / 1.46 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/1.237, allocations: 3.097 MB / 1.463 GB, free: 9.629 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.237, allocations: 0 / 1.463 GB, free: 9.629 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/1.24, allocations: 1.237 MB / 1.464 GB, free: 8.371 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/1.241, allocations: 316 kB / 1.464 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.241, allocations: 27.95 kB / 1.465 GB, free: 8.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/1.242, allocations: 81.78 kB / 1.465 GB, free: 7.938 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.242, allocations: 88.77 kB / 1.465 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.242, allocations: 47.91 kB / 1.465 GB, free: 7.801 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008459/1.243, allocations: 0.5693 MB / 1.465 GB, free: 7.234 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.243, allocations: 4 kB / 1.465 GB, free: 7.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00139/1.244, allocations: 458.9 kB / 1.466 GB, free: 6.781 MB / 1.154 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.002329/1.247, allocations: 0.7142 MB / 1.466 GB, free: 6.258 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.249, allocations: 1.138 MB / 1.468 GB, free: 5.098 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.249, allocations: 3.859 kB / 1.468 GB, free: 5.094 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.25, allocations: 0.7488 MB / 1.468 GB, free: 4.316 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.252, allocations: 347.6 kB / 1.469 GB, free: 4 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/1.256, allocations: 2.07 MB / 1.471 GB, free: 1.898 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/1.257, allocations: 1.095 MB / 1.472 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/1.257, allocations: 135.3 kB / 1.472 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/1.257, allocations: 0 / 1.472 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of Templates: time 0.03904/1.296, allocations: 27.51 MB / 1.499 GB, free: 5.188 MB / 1.186 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 -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_2/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: 15.14494176604785]