Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001834/0.001834, allocations: 117.4 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.002259/0.002259, allocations: 214.3 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.615/1.615, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7678 GB, free: 9.453 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_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.002086/0.002086, allocations: 75.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2993/1.341, allocations: 171.9 MB / 1.447 GB, free: 52 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03067/1.371, allocations: 17.54 MB / 1.464 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/1.374, allocations: 43.62 kB / 1.464 GB, free: 14.42 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/1.376, allocations: 0.5972 MB / 1.465 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006489/1.383, allocations: 1.828 MB / 1.466 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004767/1.387, allocations: 1.461 MB / 1.468 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005168/1.392, allocations: 2.91 MB / 1.471 GB, free: 7.617 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/1.396, allocations: 1.62 MB / 1.472 GB, free: 5.938 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/1.402, allocations: 1.516 MB / 1.474 GB, free: 4.465 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/1.405, allocations: 1.163 MB / 1.475 GB, free: 3.297 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009264/1.406, allocations: 224 kB / 1.475 GB, free: 3.078 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/1.41, allocations: 1.63 MB / 1.477 GB, free: 1.445 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/1.412, allocations: 0.8216 MB / 1.477 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002725/1.414, allocations: 1.283 MB / 1.479 GB, free: 15.33 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009484/1.424, allocations: 3.802 MB / 1.482 GB, free: 11.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.424, allocations: 0 / 1.482 GB, free: 11.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/1.424, allocations: 4 kB / 1.482 GB, free: 11.51 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000182/1.424, allocations: 0 / 1.482 GB, free: 11.51 MB / 1.17 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.007975/1.432, allocations: 3.04 MB / 1.485 GB, free: 8.406 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.432, allocations: 8.031 kB / 1.485 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.069e-05/1.432, allocations: 43.39 kB / 1.485 GB, free: 8.355 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/1.433, allocations: 248.9 kB / 1.486 GB, free: 8.102 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/1.437, allocations: 0.6344 MB / 1.486 GB, free: 7.465 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/1.443, allocations: 3.462 MB / 1.49 GB, free: 3.953 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.443, allocations: 127.4 kB / 1.49 GB, free: 3.828 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/1.443, allocations: 175.9 kB / 1.49 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/1.447, allocations: 1.949 MB / 1.492 GB, free: 1.656 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.447, allocations: 0 / 1.492 GB, free: 1.656 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/1.448, allocations: 75.98 kB / 1.492 GB, free: 1.582 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/1.448, allocations: 44 kB / 1.492 GB, free: 1.539 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/1.452, allocations: 2.113 MB / 1.494 GB, free: 15.42 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/1.464, allocations: 6.748 MB / 1.501 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/1.468, allocations: 2.041 MB / 1.503 GB, free: 6.219 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/1.469, allocations: 0.714 MB / 1.503 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000806/1.47, allocations: 433.6 kB / 1.504 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/1.472, allocations: 1.017 MB / 1.505 GB, free: 3.969 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.065e-06/1.472, allocations: 0 / 1.505 GB, free: 3.969 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.008257/1.48, allocations: 3.001 MB / 1.508 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/1.481, allocations: 209.2 kB / 1.508 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006032/1.487, allocations: 4.109 MB / 1.512 GB, free: 12.49 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.487, allocations: 61.7 kB / 1.512 GB, free: 12.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009893/1.488, allocations: 0.9155 MB / 1.513 GB, free: 11.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000643/1.489, allocations: 0.4919 MB / 1.513 GB, free: 11 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/1.489, allocations: 242.8 kB / 1.514 GB, free: 10.76 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.489, allocations: 349.9 kB / 1.514 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.491, allocations: 0.5843 MB / 1.514 GB, free: 9.828 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.493, allocations: 0.8086 MB / 1.515 GB, free: 8.957 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/1.496, allocations: 1.329 MB / 1.517 GB, free: 7.613 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.496, allocations: 4 kB / 1.517 GB, free: 7.609 MB / 1.201 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005468/1.501, allocations: 1.816 MB / 1.518 GB, free: 5.77 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.501, allocations: 6.188 kB / 1.518 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.501, allocations: 4 kB / 1.518 GB, free: 5.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/1.503, allocations: 204.2 kB / 1.518 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.504, allocations: 331.5 kB / 1.519 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/1.513, allocations: 7.331 MB / 1.526 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.516, allocations: 175.1 kB / 1.526 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.516, allocations: 47.97 kB / 1.526 GB, free: 12.97 MB / 1.217 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.001273/1.517, allocations: 494.9 kB / 1.527 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/1.518, allocations: 206.7 kB / 1.527 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/1.523, allocations: 2.154 MB / 1.529 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.523, allocations: 16 kB / 1.529 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.523, allocations: 0 / 1.529 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.523, allocations: 11.91 kB / 1.529 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/1.532, allocations: 4.149 MB / 1.533 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.532, allocations: 0 / 1.533 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.533, allocations: 323.6 kB / 1.533 GB, free: 5.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.534, allocations: 200.1 kB / 1.534 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/1.535, allocations: 43.97 kB / 1.534 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/1.542, allocations: 7.356 MB / 1.541 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.542, allocations: 4.031 kB / 1.541 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/1.548, allocations: 2.037 MB / 1.543 GB, free: 11.13 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.549, allocations: 0.5304 MB / 1.543 GB, free: 10.58 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.55, allocations: 28 kB / 1.543 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.551, allocations: 108.8 kB / 1.543 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/1.551, allocations: 121.1 kB / 1.544 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.551, allocations: 63.95 kB / 1.544 GB, free: 10.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004011/1.555, allocations: 3.152 MB / 1.547 GB, free: 7.121 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.555, allocations: 0 / 1.547 GB, free: 7.121 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002541/1.558, allocations: 0.7053 MB / 1.547 GB, free: 6.414 MB / 1.232 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.007725/1.566, allocations: 3.215 MB / 1.55 GB, free: 3.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004621/1.57, allocations: 2.023 MB / 1.552 GB, free: 1.254 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.57, allocations: 4.562 kB / 1.552 GB, free: 1.25 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.573, allocations: 1.372 MB / 1.554 GB, free: 15.81 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.576, allocations: 0.5618 MB / 1.554 GB, free: 15.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/1.614, allocations: 21.16 MB / 1.575 GB, free: 9.867 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.616, allocations: 1.537 MB / 1.577 GB, free: 8.297 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002009/1.618, allocations: 0.5329 MB / 1.577 GB, free: 7.758 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.619, allocations: 0.9092 MB / 1.578 GB, free: 6.848 MB / 1.264 GB Notification: Performance of SimCode: time 1.884e-06/1.619, allocations: 0 / 1.578 GB, free: 6.848 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.734, allocations: 50 MB / 1.627 GB, free: 5.328 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/20.27, allocations: 14.95 kB / 1.627 GB, free: 5.316 MB / 1.311 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 27.282317287987098]