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.0008149/0.0008149, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001584/0.001584, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8758/0.8758, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.62/1.62, allocations: 377.8 MB / 0.6221 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 3.984 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.587e-05, allocations: 9.094 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5787/0.5787, allocations: 148.3 MB / 1.126 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.5946, allocations: 16.18 MB / 1.142 GB, free: 2.016 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.5964, allocations: 43.38 kB / 1.142 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.5982, allocations: 0.5711 MB / 1.142 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.6041, allocations: 1.886 MB / 1.144 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.6073, allocations: 1.505 MB / 1.146 GB, free: 15.78 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004028/0.6113, allocations: 2.993 MB / 1.148 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.6136, allocations: 1.589 MB / 1.15 GB, free: 13.45 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.618, allocations: 2.028 MB / 1.152 GB, free: 12.58 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.6197, allocations: 0.9381 MB / 1.153 GB, free: 12.25 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005465/0.6203, allocations: 229.5 kB / 1.153 GB, free: 12.25 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.6234, allocations: 1.482 MB / 1.155 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008623/0.6242, allocations: 0.8529 MB / 1.155 GB, free: 11.35 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.6259, allocations: 0.879 MB / 1.156 GB, free: 10.93 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.632, allocations: 3.987 MB / 1.16 GB, free: 9.414 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.632, allocations: 0 / 1.16 GB, free: 9.414 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.954e-06/0.632, allocations: 0 / 1.16 GB, free: 9.414 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001061/0.6321, allocations: 4.875 kB / 1.16 GB, free: 9.41 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.005374/0.6375, allocations: 2.974 MB / 1.163 GB, free: 7.594 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6375, allocations: 8.969 kB / 1.163 GB, free: 7.594 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/0.6378, allocations: 248.2 kB / 1.163 GB, free: 7.441 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/0.6405, allocations: 0.6444 MB / 1.164 GB, free: 7.262 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.6452, allocations: 3.396 MB / 1.167 GB, free: 5.848 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.6453, allocations: 136 kB / 1.167 GB, free: 5.785 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.6457, allocations: 169.3 kB / 1.168 GB, free: 5.734 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.6489, allocations: 2.736 MB / 1.17 GB, free: 4.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.649, allocations: 0 / 1.17 GB, free: 4.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.6491, allocations: 80 kB / 1.17 GB, free: 3.961 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.6492, allocations: 41.38 kB / 1.17 GB, free: 3.961 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.652, allocations: 2.068 MB / 1.172 GB, free: 3.426 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/0.6602, allocations: 5.193 MB / 1.177 GB, free: 1.016 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.6626, allocations: 1.774 MB / 1.179 GB, free: 444 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.6638, allocations: 0.7309 MB / 1.18 GB, free: 192 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.6641, allocations: 122.2 kB / 1.18 GB, free: 172 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.6656, allocations: 1.645 MB / 1.182 GB, free: 15.04 MB / 1.026 GB Notification: Performance of pre-optimization done (n=154): time 3.707e-06/0.6656, allocations: 0 / 1.182 GB, free: 15.04 MB / 1.026 GB Notification: Performance of matching and sorting (n=154): time 0.004786/0.6704, allocations: 2.679 MB / 1.184 GB, free: 14.16 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6705, allocations: 214.9 kB / 1.184 GB, free: 13.93 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.675, allocations: 4.107 MB / 1.188 GB, free: 12.68 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.6754, allocations: 61.08 kB / 1.188 GB, free: 12.62 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.6761, allocations: 0.9214 MB / 1.189 GB, free: 11.9 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.6765, allocations: 0.5164 MB / 1.19 GB, free: 11.48 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.6768, allocations: 259 kB / 1.19 GB, free: 11.36 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.677, allocations: 356.6 kB / 1.19 GB, free: 11.04 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008191/0.6778, allocations: 0.6106 MB / 1.191 GB, free: 10.84 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.6788, allocations: 1.276 MB / 1.192 GB, free: 9.801 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.6804, allocations: 1.382 MB / 1.194 GB, free: 9.137 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6804, allocations: 0 / 1.194 GB, free: 9.137 MB / 1.026 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003062/0.6835, allocations: 1.869 MB / 1.195 GB, free: 8.227 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6835, allocations: 7.375 kB / 1.195 GB, free: 8.227 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6835, allocations: 64 / 1.195 GB, free: 8.227 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.6841, allocations: 223.1 kB / 1.196 GB, free: 8.098 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.685, allocations: 327.1 kB / 1.196 GB, free: 8.02 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.6892, allocations: 6.788 MB / 1.203 GB, free: 1.23 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6907, allocations: 178.2 kB / 1.203 GB, free: 1.121 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.6908, allocations: 55.39 kB / 1.203 GB, free: 1.098 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (158): * Single equations (assignments): 153 * 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.00111/0.6919, allocations: 0.4923 MB / 1.203 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/0.6925, allocations: 211.2 kB / 1.204 GB, free: 0.6445 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.6953, allocations: 2.206 MB / 1.206 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.6953, allocations: 16.22 kB / 1.206 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6953, allocations: 2.469 kB / 1.206 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.6953, allocations: 7.969 kB / 1.206 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.7007, allocations: 4.074 MB / 1.21 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7007, allocations: 0 / 1.21 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.7015, allocations: 328.6 kB / 1.21 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.7019, allocations: 200.3 kB / 1.21 GB, free: 12.86 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.702, allocations: 45.39 kB / 1.21 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.7059, allocations: 6.81 MB / 1.217 GB, free: 6.02 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.7059, allocations: 3.938 kB / 1.217 GB, free: 6.016 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.709, allocations: 2.086 MB / 1.219 GB, free: 4.812 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7101, allocations: 470 kB / 1.219 GB, free: 4.352 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.7103, allocations: 39.98 kB / 1.219 GB, free: 4.312 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.7111, allocations: 113.8 kB / 1.22 GB, free: 4.203 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.7113, allocations: 125.8 kB / 1.22 GB, free: 4.082 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.7114, allocations: 67.95 kB / 1.22 GB, free: 4.016 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002714/0.7141, allocations: 3.152 MB / 1.223 GB, free: 0.8711 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7141, allocations: 4 kB / 1.223 GB, free: 0.8672 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001902/0.716, allocations: 0.7054 MB / 1.223 GB, free: 164 kB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004172/0.7202, allocations: 3.363 MB / 1.227 GB, free: 12.96 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.7228, allocations: 2.069 MB / 1.229 GB, free: 10.83 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7228, allocations: 4.656 kB / 1.229 GB, free: 10.83 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.7241, allocations: 1.391 MB / 1.23 GB, free: 9.375 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.7259, allocations: 0.5638 MB / 1.231 GB, free: 8.836 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/0.7523, allocations: 21.49 MB / 1.252 GB, free: 3.066 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.7531, allocations: 0.9621 MB / 1.253 GB, free: 2.066 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001635/0.7547, allocations: 0.5566 MB / 1.253 GB, free: 1.504 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.7557, allocations: 0.9142 MB / 1.254 GB, free: 0.5898 MB / 1.073 GB Notification: Performance of SimCode: time 1.693e-06/0.7557, allocations: 0 / 1.254 GB, free: 0.5898 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.8336, allocations: 53.67 MB / 1.306 GB, free: 11.68 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.32/10.15, allocations: 12.3 kB / 1.306 GB, free: 11.68 MB / 1.135 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] 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: 14.236864007078111]