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.001238/0.001238, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001375/0.001375, allocations: 214.5 kB / 22.24 MB, free: 5.262 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.789 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 2.924/2.924, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> 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: 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.001939/0.001939, allocations: 62.62 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1828/0.4742, allocations: 148.4 MB / 1.47 GB, free: 13.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.4981, allocations: 16.21 MB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.4997, allocations: 43.62 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.5014, allocations: 0.57 MB / 1.486 GB, free: 12.56 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.5065, allocations: 1.838 MB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.51, allocations: 1.468 MB / 1.49 GB, free: 9.266 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.5136, allocations: 2.922 MB / 1.492 GB, free: 6.332 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.5157, allocations: 1.567 MB / 1.494 GB, free: 4.703 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.5197, allocations: 1.517 MB / 1.495 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.5212, allocations: 1.05 MB / 1.497 GB, free: 2.176 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.5215, allocations: 227.9 kB / 1.497 GB, free: 1.953 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.5246, allocations: 1.458 MB / 1.498 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008077/0.5254, allocations: 0.8216 MB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.5266, allocations: 1.05 MB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.532, allocations: 3.814 MB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.532, allocations: 0 / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.665e-06/0.532, allocations: 0 / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.832e-05/0.5321, allocations: 0 / 1.504 GB, free: 10.79 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.005244/0.5373, allocations: 2.961 MB / 1.507 GB, free: 7.777 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5373, allocations: 12.03 kB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/0.5377, allocations: 244.9 kB / 1.507 GB, free: 7.516 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.5419, allocations: 0.6383 MB / 1.507 GB, free: 6.875 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.5471, allocations: 3.378 MB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.5472, allocations: 131.4 kB / 1.511 GB, free: 3.336 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.5475, allocations: 176 kB / 1.511 GB, free: 3.164 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.5519, allocations: 2.713 MB / 1.514 GB, free: 220 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.5519, allocations: 0 / 1.514 GB, free: 220 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5521, allocations: 76 kB / 1.514 GB, free: 144 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.5521, allocations: 44 kB / 1.514 GB, free: 100 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/0.5559, allocations: 2.066 MB / 1.516 GB, free: 14.03 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009759/0.5657, allocations: 5.12 MB / 1.521 GB, free: 8.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.5691, allocations: 1.741 MB / 1.523 GB, free: 7.082 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.5704, allocations: 0.7216 MB / 1.523 GB, free: 6.352 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.5709, allocations: 113.2 kB / 1.523 GB, free: 6.242 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002295/0.5732, allocations: 1.621 MB / 1.525 GB, free: 4.453 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.486e-06/0.5732, allocations: 4 kB / 1.525 GB, free: 4.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00707/0.5802, allocations: 2.633 MB / 1.527 GB, free: 1.797 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5804, allocations: 197.2 kB / 1.528 GB, free: 1.562 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.5857, allocations: 4.105 MB / 1.532 GB, free: 13.45 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.5859, allocations: 65.69 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.5868, allocations: 0.9155 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/0.5873, allocations: 0.4996 MB / 1.533 GB, free: 11.95 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.5877, allocations: 238.8 kB / 1.533 GB, free: 11.71 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5879, allocations: 357.9 kB / 1.534 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.5891, allocations: 0.5765 MB / 1.534 GB, free: 10.78 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.5908, allocations: 1.247 MB / 1.535 GB, free: 9.367 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.5933, allocations: 1.329 MB / 1.537 GB, free: 8.027 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.5934, allocations: 4 kB / 1.537 GB, free: 8.023 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004158/0.5975, allocations: 1.808 MB / 1.539 GB, free: 6.191 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5975, allocations: 8 kB / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5975, allocations: 0 / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.5986, allocations: 212.1 kB / 1.539 GB, free: 5.961 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.6001, allocations: 331.5 kB / 1.539 GB, free: 5.637 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.607, allocations: 6.796 MB / 1.546 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.6088, allocations: 168.7 kB / 1.546 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.609, allocations: 55.95 kB / 1.546 GB, free: 14.04 MB / 1.248 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.001057/0.6101, allocations: 481.5 kB / 1.546 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/0.6106, allocations: 206.7 kB / 1.547 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.6154, allocations: 2.161 MB / 1.549 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6154, allocations: 16 kB / 1.549 GB, free: 11.15 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6154, allocations: 0 / 1.549 GB, free: 11.15 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.6154, allocations: 11.97 kB / 1.549 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007337/0.6228, allocations: 3.832 MB / 1.552 GB, free: 7.246 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6228, allocations: 0 / 1.552 GB, free: 7.246 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.6242, allocations: 319.6 kB / 1.553 GB, free: 6.934 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008702/0.6251, allocations: 200.1 kB / 1.553 GB, free: 6.723 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.6252, allocations: 39.97 kB / 1.553 GB, free: 6.684 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/0.6317, allocations: 6.823 MB / 1.56 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6318, allocations: 3.938 kB / 1.56 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/0.6363, allocations: 2.037 MB / 1.562 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.6375, allocations: 462 kB / 1.562 GB, free: 12.74 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.6377, allocations: 28 kB / 1.562 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.639, allocations: 109.4 kB / 1.562 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.6392, allocations: 121.1 kB / 1.562 GB, free: 12.49 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.6394, allocations: 71.94 kB / 1.562 GB, free: 12.42 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003883/0.6433, allocations: 3.148 MB / 1.565 GB, free: 9.277 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6433, allocations: 0 / 1.565 GB, free: 9.277 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002479/0.6458, allocations: 0.6976 MB / 1.566 GB, free: 8.578 MB / 1.264 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.007419/0.6532, allocations: 3.277 MB / 1.569 GB, free: 5.477 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003813/0.657, allocations: 2.023 MB / 1.571 GB, free: 3.387 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.657, allocations: 4.656 kB / 1.571 GB, free: 3.383 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.6592, allocations: 1.368 MB / 1.573 GB, free: 1.953 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.6617, allocations: 0.5452 MB / 1.573 GB, free: 1.426 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03471/0.6965, allocations: 21.16 MB / 1.594 GB, free: 12.02 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.6977, allocations: 0.9642 MB / 1.595 GB, free: 11.02 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00194/0.6996, allocations: 0.5329 MB / 1.595 GB, free: 10.48 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.701, allocations: 0.9093 MB / 1.596 GB, free: 9.574 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/0.701, allocations: 0 / 1.596 GB, free: 9.574 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6871/1.388, allocations: 53.2 MB / 1.648 GB, free: 259.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.14, allocations: 4.859 kB / 1.648 GB, free: 259.4 MB / 1.295 GB " [Timeout remaining time 284] (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/jenkins1/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: 22.504447215702385]