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.001325/0.001325, allocations: 115.7 kB / 17.17 MB, free: 5.977 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.00149/0.00149, allocations: 219 kB / 20.13 MB, free: 3.035 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.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.06 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.812/2.812, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",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.002006/0.002006, allocations: 76.06 kB / 1.15 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9289, allocations: 176.1 MB / 1.321 GB, free: 7.613 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2112/1.14, allocations: 171.9 MB / 1.489 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.166, allocations: 17.54 MB / 1.507 GB, free: 7.934 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/1.168, allocations: 39.69 kB / 1.507 GB, free: 7.895 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/1.17, allocations: 0.5933 MB / 1.507 GB, free: 7.297 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/1.175, allocations: 1.839 MB / 1.509 GB, free: 5.453 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.179, allocations: 1.462 MB / 1.51 GB, free: 4.004 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004009/1.183, allocations: 2.91 MB / 1.513 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/1.186, allocations: 1.613 MB / 1.515 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/1.19, allocations: 1.514 MB / 1.516 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/1.192, allocations: 1.167 MB / 1.517 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007032/1.193, allocations: 224 kB / 1.518 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/1.197, allocations: 1.626 MB / 1.519 GB, free: 10.93 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.198, allocations: 0.8255 MB / 1.52 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/1.2, allocations: 1.286 MB / 1.521 GB, free: 8.805 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/1.207, allocations: 3.79 MB / 1.525 GB, free: 5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.207, allocations: 0 / 1.525 GB, free: 5 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.873e-06/1.207, allocations: 4 kB / 1.525 GB, free: 4.996 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001356/1.207, allocations: 0 / 1.525 GB, free: 4.996 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.008496/1.216, allocations: 3.04 MB / 1.528 GB, free: 1.891 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.216, allocations: 11.98 kB / 1.528 GB, free: 1.879 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.828e-05/1.216, allocations: 43.39 kB / 1.528 GB, free: 1.836 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006353/1.216, allocations: 244.9 kB / 1.528 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/1.221, allocations: 0.6422 MB / 1.529 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/1.227, allocations: 3.454 MB / 1.532 GB, free: 13.44 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/1.227, allocations: 127.4 kB / 1.532 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/1.227, allocations: 175.9 kB / 1.533 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/1.232, allocations: 1.956 MB / 1.534 GB, free: 11.13 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/1.232, allocations: 4 kB / 1.534 GB, free: 11.13 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/1.232, allocations: 75.98 kB / 1.534 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/1.232, allocations: 40 kB / 1.535 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/1.237, allocations: 2.117 MB / 1.537 GB, free: 8.895 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/1.249, allocations: 6.93 MB / 1.543 GB, free: 1.574 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/1.253, allocations: 2.05 MB / 1.545 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.255, allocations: 0.7183 MB / 1.546 GB, free: 14.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/1.255, allocations: 421.6 kB / 1.546 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/1.257, allocations: 1.021 MB / 1.547 GB, free: 13.2 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.437e-06/1.258, allocations: 4 kB / 1.547 GB, free: 13.2 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007961/1.265, allocations: 3.001 MB / 1.55 GB, free: 10.09 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.266, allocations: 197.2 kB / 1.551 GB, free: 9.848 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/1.272, allocations: 4.113 MB / 1.555 GB, free: 5.73 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004583/1.273, allocations: 53.7 kB / 1.555 GB, free: 5.672 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.274, allocations: 0.9233 MB / 1.556 GB, free: 4.738 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008186/1.275, allocations: 0.4919 MB / 1.556 GB, free: 4.242 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007242/1.276, allocations: 238.8 kB / 1.556 GB, free: 4.004 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.276, allocations: 353.9 kB / 1.557 GB, free: 3.652 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.277, allocations: 0.592 MB / 1.557 GB, free: 3.059 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.279, allocations: 0.8086 MB / 1.558 GB, free: 2.188 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/1.282, allocations: 1.329 MB / 1.559 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.282, allocations: 0 / 1.559 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004835/1.287, allocations: 1.812 MB / 1.561 GB, free: 15.01 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.287, allocations: 9.719 kB / 1.561 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.287, allocations: 0 / 1.561 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.288, allocations: 212.2 kB / 1.561 GB, free: 14.78 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.29, allocations: 327.5 kB / 1.562 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/1.298, allocations: 7.329 MB / 1.569 GB, free: 6.426 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.299, allocations: 167 kB / 1.569 GB, free: 6.262 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/1.3, allocations: 51.97 kB / 1.569 GB, free: 6.211 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.001315/1.301, allocations: 497.3 kB / 1.569 GB, free: 5.715 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/1.302, allocations: 202.7 kB / 1.57 GB, free: 5.516 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/1.307, allocations: 2.154 MB / 1.572 GB, free: 3.336 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.307, allocations: 12 kB / 1.572 GB, free: 3.324 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.307, allocations: 8 kB / 1.572 GB, free: 3.316 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.307, allocations: 11.97 kB / 1.572 GB, free: 3.305 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008972/1.316, allocations: 4.145 MB / 1.576 GB, free: 15.08 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.316, allocations: 0 / 1.576 GB, free: 15.08 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.318, allocations: 319.6 kB / 1.576 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/1.319, allocations: 200.1 kB / 1.576 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/1.319, allocations: 39.97 kB / 1.576 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/1.326, allocations: 7.367 MB / 1.584 GB, free: 6.445 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.326, allocations: 0 / 1.584 GB, free: 6.445 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/1.331, allocations: 2.029 MB / 1.585 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.333, allocations: 0.5225 MB / 1.586 GB, free: 3.836 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/1.333, allocations: 35.98 kB / 1.586 GB, free: 3.801 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.335, allocations: 106.1 kB / 1.586 GB, free: 3.699 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.335, allocations: 117.1 kB / 1.586 GB, free: 3.586 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.336, allocations: 80 kB / 1.586 GB, free: 3.508 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004374/1.34, allocations: 3.148 MB / 1.589 GB, free: 376 kB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.34, allocations: 0 / 1.589 GB, free: 376 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.002596/1.343, allocations: 0.7015 MB / 1.59 GB, free: 15.66 MB / 1.279 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.007529/1.35, allocations: 3.229 MB / 1.593 GB, free: 12.57 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004006/1.354, allocations: 2.027 MB / 1.595 GB, free: 10.48 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.354, allocations: 4.562 kB / 1.595 GB, free: 10.48 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.356, allocations: 1.368 MB / 1.597 GB, free: 9.047 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.359, allocations: 0.5431 MB / 1.597 GB, free: 8.527 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/1.396, allocations: 21.18 MB / 1.618 GB, free: 3.102 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.397, allocations: 1.534 MB / 1.619 GB, free: 1.535 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001943/1.399, allocations: 0.529 MB / 1.62 GB, free: 1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.401, allocations: 0.9053 MB / 1.621 GB, free: 96 kB / 1.295 GB Notification: Performance of SimCode: time 1.262e-06/1.401, allocations: 0 / 1.621 GB, free: 96 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.514, allocations: 50.01 MB / 1.67 GB, free: 14.52 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.59, allocations: 3.938 kB / 1.67 GB, free: 14.52 MB / 1.357 GB " [Timeout remaining time 282] (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: 24.091570777003653]