Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001242/0.001242, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001443/0.001443, allocations: 217.7 kB / 22.26 MB, free: 5.113 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 179] 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.962/2.962, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.001889/0.001889, allocations: 68.73 kB / 1.177 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1856/0.5045, allocations: 172.1 MB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.528, allocations: 17.76 MB / 1.538 GB, free: 9.891 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.5297, allocations: 43.62 kB / 1.538 GB, free: 9.848 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.5316, allocations: 0.5973 MB / 1.539 GB, free: 9.246 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.5367, allocations: 1.849 MB / 1.541 GB, free: 7.395 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.5402, allocations: 1.499 MB / 1.542 GB, free: 5.906 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.5438, allocations: 2.926 MB / 1.545 GB, free: 2.973 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.5461, allocations: 1.606 MB / 1.547 GB, free: 1.309 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.5503, allocations: 1.511 MB / 1.548 GB, free: 15.84 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.5521, allocations: 1.161 MB / 1.549 GB, free: 14.68 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005503/0.5527, allocations: 224 kB / 1.549 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.556, allocations: 1.673 MB / 1.551 GB, free: 12.78 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.5571, allocations: 0.8217 MB / 1.552 GB, free: 11.96 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.5594, allocations: 1.286 MB / 1.553 GB, free: 10.66 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.5654, allocations: 3.798 MB / 1.557 GB, free: 6.852 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5654, allocations: 4 kB / 1.557 GB, free: 6.848 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5654, allocations: 4 kB / 1.557 GB, free: 6.844 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001096/0.5656, allocations: 4 kB / 1.557 GB, free: 6.84 MB / 1.248 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.006004/0.5716, allocations: 2.957 MB / 1.56 GB, free: 3.836 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5716, allocations: 8.031 kB / 1.56 GB, free: 3.828 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003806/0.572, allocations: 248.9 kB / 1.56 GB, free: 3.574 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.5762, allocations: 0.6345 MB / 1.561 GB, free: 2.938 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00448/0.5807, allocations: 3.374 MB / 1.564 GB, free: 15.52 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5808, allocations: 139.3 kB / 1.564 GB, free: 15.39 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.581, allocations: 164 kB / 1.564 GB, free: 15.23 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.5844, allocations: 1.956 MB / 1.566 GB, free: 13.22 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.5844, allocations: 3.984 kB / 1.566 GB, free: 13.21 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.5846, allocations: 79.98 kB / 1.566 GB, free: 13.14 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.5846, allocations: 40 kB / 1.566 GB, free: 13.1 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.5882, allocations: 2.117 MB / 1.568 GB, free: 10.98 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.5985, allocations: 6.856 MB / 1.575 GB, free: 3.73 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.6017, allocations: 1.742 MB / 1.577 GB, free: 1.988 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.6029, allocations: 0.7216 MB / 1.577 GB, free: 1.258 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.6033, allocations: 125.2 kB / 1.577 GB, free: 1.137 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.605, allocations: 1.018 MB / 1.578 GB, free: 100 kB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 3.035e-06/0.605, allocations: 0 / 1.578 GB, free: 100 kB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.006467/0.6115, allocations: 2.633 MB / 1.581 GB, free: 13.45 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6116, allocations: 201.2 kB / 1.581 GB, free: 13.21 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/0.6163, allocations: 4.102 MB / 1.585 GB, free: 9.102 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.6165, allocations: 57.7 kB / 1.585 GB, free: 9.039 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/0.6173, allocations: 0.9193 MB / 1.586 GB, free: 8.109 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.6177, allocations: 0.4996 MB / 1.587 GB, free: 7.605 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.6181, allocations: 242.8 kB / 1.587 GB, free: 7.359 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6183, allocations: 349.9 kB / 1.587 GB, free: 7.012 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6195, allocations: 0.5843 MB / 1.588 GB, free: 6.43 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.6208, allocations: 0.8102 MB / 1.589 GB, free: 5.559 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.6233, allocations: 1.333 MB / 1.59 GB, free: 4.215 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6233, allocations: 0 / 1.59 GB, free: 4.215 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004117/0.6274, allocations: 1.808 MB / 1.592 GB, free: 2.383 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6274, allocations: 8 kB / 1.592 GB, free: 2.375 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6274, allocations: 0 / 1.592 GB, free: 2.375 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.6285, allocations: 212.2 kB / 1.592 GB, free: 2.152 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.63, allocations: 331.5 kB / 1.592 GB, free: 1.828 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/0.6363, allocations: 6.819 MB / 1.599 GB, free: 10.43 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.6378, allocations: 163.1 kB / 1.599 GB, free: 10.27 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.638, allocations: 56.02 kB / 1.599 GB, free: 10.21 MB / 1.295 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 (145): * Single equations (assignments): 140 * 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.001001/0.639, allocations: 493.3 kB / 1.6 GB, free: 9.719 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.6395, allocations: 206.7 kB / 1.6 GB, free: 9.516 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.6441, allocations: 2.158 MB / 1.602 GB, free: 7.328 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.6441, allocations: 16 kB / 1.602 GB, free: 7.312 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6441, allocations: 4 kB / 1.602 GB, free: 7.309 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6441, allocations: 7.969 kB / 1.602 GB, free: 7.301 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.6517, allocations: 4.116 MB / 1.606 GB, free: 3.121 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6517, allocations: 0 / 1.606 GB, free: 3.121 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.6531, allocations: 319.6 kB / 1.606 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000832/0.654, allocations: 200.1 kB / 1.606 GB, free: 2.598 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.6541, allocations: 39.97 kB / 1.606 GB, free: 2.559 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5354/1.189, allocations: 6.846 MB / 1.613 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.19, allocations: 0.5625 kB / 1.613 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/1.194, allocations: 2.032 MB / 1.615 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.195, allocations: 458.4 kB / 1.616 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/1.195, allocations: 31.08 kB / 1.616 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.196, allocations: 112.1 kB / 1.616 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/1.196, allocations: 116.4 kB / 1.616 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.197, allocations: 78.45 kB / 1.616 GB, free: 247.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003631/1.2, allocations: 3.148 MB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.2, allocations: 0.625 kB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001801/1.202, allocations: 0.7021 MB / 1.62 GB, free: 247 MB / 1.295 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.005736/1.208, allocations: 3.229 MB / 1.623 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003524/1.211, allocations: 2.025 MB / 1.625 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.211, allocations: 2.312 kB / 1.625 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.213, allocations: 1.37 MB / 1.626 GB, free: 243.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.215, allocations: 0.5587 MB / 1.627 GB, free: 243.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.244, allocations: 21.16 MB / 1.647 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/1.245, allocations: 1.543 MB / 1.649 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001609/1.247, allocations: 0.5288 MB / 1.649 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009492/1.248, allocations: 0.9072 MB / 1.65 GB, free: 234.4 MB / 1.295 GB Notification: Performance of SimCode: time 6.41e-07/1.248, allocations: 0 / 1.65 GB, free: 234.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0941/1.342, allocations: 50.92 MB / 1.7 GB, free: 189.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.85, allocations: 3.984 kB / 1.7 GB, free: 189.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.288961300160736]