Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007043/0.007044, allocations: 101.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 199 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 66.55 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1845/0.4624, allocations: 167.2 MB / 1.251 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7678/1.23, allocations: 17.19 MB / 1.268 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/1.232, allocations: 31.84 kB / 1.268 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/1.234, allocations: 0.5541 MB / 1.268 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005342/1.239, allocations: 1.714 MB / 1.27 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/1.243, allocations: 1.429 MB / 1.271 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004121/1.247, allocations: 2.691 MB / 1.274 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/1.251, allocations: 1.988 MB / 1.276 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/1.257, allocations: 1.452 MB / 1.277 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/1.259, allocations: 1.091 MB / 1.278 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009725/1.26, allocations: 220.9 kB / 1.278 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/1.265, allocations: 1.56 MB / 1.28 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/1.266, allocations: 0.7962 MB / 1.281 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003395/1.27, allocations: 1.238 MB / 1.282 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008241/1.278, allocations: 3.669 MB / 1.286 GB, free: 2.133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.278, allocations: 1.281 kB / 1.286 GB, free: 2.133 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.093e-06/1.278, allocations: 0.9375 kB / 1.286 GB, free: 2.133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002017/1.278, allocations: 0 / 1.286 GB, free: 2.133 MB / 1.014 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.009455/1.288, allocations: 2.897 MB / 1.288 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.288, allocations: 9.469 kB / 1.288 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004804/1.288, allocations: 250.3 kB / 1.289 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/1.292, allocations: 0.5667 MB / 1.289 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004981/1.297, allocations: 3.438 MB / 1.293 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.297, allocations: 130.9 kB / 1.293 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/1.298, allocations: 171 kB / 1.293 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/1.301, allocations: 1.957 MB / 1.295 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/1.301, allocations: 0.9688 kB / 1.295 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.301, allocations: 74.41 kB / 1.295 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/1.301, allocations: 44.09 kB / 1.295 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/1.305, allocations: 2.117 MB / 1.297 GB, free: 15.87 MB / 1.029 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.01018/1.315, allocations: 6.331 MB / 1.303 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/1.318, allocations: 2.123 MB / 1.305 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.32, allocations: 0.7767 MB / 1.306 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1.32, allocations: 431.3 kB / 1.306 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/1.322, allocations: 1.012 MB / 1.307 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.387e-06/1.322, allocations: 0 / 1.307 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.008017/1.33, allocations: 3 MB / 1.31 GB, free: 12.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.33, allocations: 198.5 kB / 1.31 GB, free: 12.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/1.335, allocations: 4.077 MB / 1.314 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003754/1.336, allocations: 64.3 kB / 1.314 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/1.337, allocations: 0.8975 MB / 1.315 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/1.337, allocations: 481.2 kB / 1.316 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/1.338, allocations: 241.2 kB / 1.316 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.338, allocations: 354.9 kB / 1.316 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.339, allocations: 0.5822 MB / 1.317 GB, free: 11.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.34, allocations: 0.8112 MB / 1.318 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/1.343, allocations: 1.333 MB / 1.319 GB, free: 10.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.343, allocations: 3.375 kB / 1.319 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004053/1.347, allocations: 1.794 MB / 1.321 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.347, allocations: 8.312 kB / 1.321 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.347, allocations: 4.969 kB / 1.321 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.348, allocations: 218.1 kB / 1.321 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.35, allocations: 324 kB / 1.321 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/1.356, allocations: 7.32 MB / 1.328 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.358, allocations: 173.2 kB / 1.329 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.358, allocations: 50.09 kB / 1.329 GB, free: 3.266 MB / 1.029 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.001388/1.36, allocations: 497.5 kB / 1.329 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008362/1.361, allocations: 190.1 kB / 1.329 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/1.365, allocations: 2.149 MB / 1.331 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.366, allocations: 16.06 kB / 1.331 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.366, allocations: 3.594 kB / 1.331 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.366, allocations: 9.469 kB / 1.331 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/1.374, allocations: 4.131 MB / 1.336 GB, free: 496 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/1.374, allocations: 0.7812 kB / 1.336 GB, free: 496 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.375, allocations: 321.1 kB / 1.336 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008517/1.376, allocations: 202.4 kB / 1.336 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.376, allocations: 41.64 kB / 1.336 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006102/1.382, allocations: 7.363 MB / 1.343 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.382, allocations: 0.875 kB / 1.343 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/1.387, allocations: 2.021 MB / 1.345 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.388, allocations: 0.5093 MB / 1.346 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/1.389, allocations: 28.66 kB / 1.346 GB, free: 8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.39, allocations: 117.3 kB / 1.346 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.391, allocations: 116.3 kB / 1.346 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.391, allocations: 67.2 kB / 1.346 GB, free: 7.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003755/1.395, allocations: 3.139 MB / 1.349 GB, free: 6.922 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.21e-07/1.395, allocations: 0 / 1.349 GB, free: 6.922 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002644/1.397, allocations: 0.6725 MB / 1.35 GB, free: 6.754 MB / 1.045 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.006945/1.404, allocations: 3.23 MB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003788/1.408, allocations: 2.07 MB / 1.355 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.408, allocations: 10.77 kB / 1.355 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.41, allocations: 1.421 MB / 1.356 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.413, allocations: 0.5316 MB / 1.357 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/1.447, allocations: 21.13 MB / 1.377 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/1.449, allocations: 1.529 MB / 1.379 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002081/1.451, allocations: 0.5248 MB / 1.379 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/1.453, allocations: 0.9006 MB / 1.38 GB, free: 2.527 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.453, allocations: 7.938 kB / 1.38 GB, free: 2.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.556, allocations: 48.51 MB / 1.428 GB, free: 2.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.76, allocations: 7.984 kB / 1.428 GB, free: 2.473 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches