Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001456/0.001456, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001856/0.001856, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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 3.352/3.352, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [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.00322/0.00322, allocations: 74.12 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.4, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2081/0.608, allocations: 148.4 MB / 1.47 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.6364, allocations: 16.22 MB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.6386, allocations: 43.62 kB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.6412, allocations: 0.5583 MB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007395/0.6486, allocations: 1.842 MB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.6533, allocations: 1.47 MB / 1.49 GB, free: 8.738 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.6581, allocations: 2.918 MB / 1.493 GB, free: 5.809 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.6614, allocations: 1.567 MB / 1.494 GB, free: 4.18 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.6667, allocations: 1.531 MB / 1.496 GB, free: 2.695 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.6691, allocations: 1.058 MB / 1.497 GB, free: 1.633 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.6696, allocations: 224 kB / 1.497 GB, free: 1.414 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.6738, allocations: 1.455 MB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009544/0.6748, allocations: 0.8023 MB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.6762, allocations: 1.007 MB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005984/0.6822, allocations: 3.677 MB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6822, allocations: 4 kB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6822, allocations: 3.938 kB / 1.504 GB, free: 10.44 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.658e-05/0.6822, allocations: 0 / 1.504 GB, free: 10.44 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005456/0.6877, allocations: 2.797 MB / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6877, allocations: 8.031 kB / 1.507 GB, free: 7.59 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.6921, allocations: 0.6306 MB / 1.507 GB, free: 6.957 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.6952, allocations: 1.58 MB / 1.509 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.6953, allocations: 127.4 kB / 1.509 GB, free: 5.219 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.6956, allocations: 168 kB / 1.509 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.6997, allocations: 2.721 MB / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.6998, allocations: 0 / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.6999, allocations: 72 kB / 1.512 GB, free: 2.027 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.7, allocations: 44 kB / 1.512 GB, free: 1.984 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.7039, allocations: 2.07 MB / 1.514 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009507/0.7134, allocations: 4.377 MB / 1.518 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.717, allocations: 1.736 MB / 1.52 GB, free: 9.723 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.7185, allocations: 0.71 MB / 1.521 GB, free: 9.004 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.7189, allocations: 117.2 kB / 1.521 GB, free: 8.891 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/0.7213, allocations: 1.623 MB / 1.522 GB, free: 7.098 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.837e-06/0.7213, allocations: 0 / 1.522 GB, free: 7.098 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007326/0.7286, allocations: 2.613 MB / 1.525 GB, free: 4.465 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.7288, allocations: 197.2 kB / 1.525 GB, free: 4.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.7314, allocations: 1.722 MB / 1.527 GB, free: 2.492 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.7316, allocations: 65.64 kB / 1.527 GB, free: 2.422 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008618/0.7325, allocations: 0.8671 MB / 1.528 GB, free: 1.543 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.733, allocations: 0.4957 MB / 1.528 GB, free: 1.043 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.7335, allocations: 258.8 kB / 1.528 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.7336, allocations: 353.9 kB / 1.529 GB, free: 440 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.735, allocations: 0.6077 MB / 1.529 GB, free: 15.82 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.7367, allocations: 1.236 MB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.7395, allocations: 1.36 MB / 1.532 GB, free: 13.06 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7395, allocations: 0 / 1.532 GB, free: 13.06 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004594/0.7441, allocations: 1.831 MB / 1.534 GB, free: 11.21 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.7441, allocations: 4 kB / 1.534 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.7441, allocations: 7.938 kB / 1.534 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.7452, allocations: 216.1 kB / 1.534 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.7469, allocations: 331.6 kB / 1.534 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.7536, allocations: 6.689 MB / 1.541 GB, free: 3.438 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.7555, allocations: 164.6 kB / 1.541 GB, free: 3.277 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.7556, allocations: 55.97 kB / 1.541 GB, free: 3.223 MB / 1.232 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.7567, allocations: 491.2 kB / 1.541 GB, free: 2.734 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.7572, allocations: 186.8 kB / 1.542 GB, free: 2.551 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.7619, allocations: 2.132 MB / 1.544 GB, free: 396 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.7619, allocations: 16 kB / 1.544 GB, free: 380 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.762, allocations: 4 kB / 1.544 GB, free: 376 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.762, allocations: 11.91 kB / 1.544 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007301/0.7693, allocations: 3.521 MB / 1.547 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7693, allocations: 4 kB / 1.547 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.7708, allocations: 319.5 kB / 1.547 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008875/0.7717, allocations: 200.1 kB / 1.548 GB, free: 12.25 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.7718, allocations: 39.97 kB / 1.548 GB, free: 12.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.7782, allocations: 6.712 MB / 1.554 GB, free: 4.977 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7782, allocations: 4.031 kB / 1.554 GB, free: 4.973 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.7829, allocations: 2.016 MB / 1.556 GB, free: 2.918 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.7839, allocations: 398.3 kB / 1.557 GB, free: 2.527 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.7841, allocations: 35.98 kB / 1.557 GB, free: 2.492 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7853, allocations: 105.8 kB / 1.557 GB, free: 2.391 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.7856, allocations: 121.1 kB / 1.557 GB, free: 2.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.7858, allocations: 71.89 kB / 1.557 GB, free: 2.199 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001803/0.7876, allocations: 1.232 MB / 1.558 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7876, allocations: 0 / 1.558 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001991/0.7896, allocations: 0.7053 MB / 1.559 GB, free: 268 kB / 1.248 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.002556/0.7922, allocations: 0.7725 MB / 1.56 GB, free: 15.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00392/0.7961, allocations: 2.059 MB / 1.562 GB, free: 13.57 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.7961, allocations: 8.594 kB / 1.562 GB, free: 13.57 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.7984, allocations: 1.364 MB / 1.563 GB, free: 12.14 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.8009, allocations: 0.5106 MB / 1.563 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.8085, allocations: 3.922 MB / 1.567 GB, free: 7.695 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.8096, allocations: 0.9495 MB / 1.568 GB, free: 6.703 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002107/0.8117, allocations: 496.2 kB / 1.569 GB, free: 6.211 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.8123, allocations: 167.4 kB / 1.569 GB, free: 6.047 MB / 1.264 GB Notification: Performance of SimCode: time 1.483e-06/0.8124, allocations: 4 kB / 1.569 GB, free: 6.043 MB / 1.264 GB Notification: Performance of Templates: time 0.06143/0.8738, allocations: 34.67 MB / 1.603 GB, free: 3.859 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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: 11.873896472156048]