Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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.008327/0.008327, allocations: 101.2 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.002006/0.002006, allocations: 195.3 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.89 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4197, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 1.015/1.435, allocations: 168.4 MB / 1.372 GB, free: 244 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02638/1.461, allocations: 17.35 MB / 1.389 GB, free: 3.137 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/1.464, allocations: 32.69 kB / 1.389 GB, free: 3.125 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/1.467, allocations: 0.5708 MB / 1.389 GB, free: 2.637 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006557/1.473, allocations: 1.785 MB / 1.391 GB, free: 1.297 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005175/1.478, allocations: 1.448 MB / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005411/1.484, allocations: 2.888 MB / 1.395 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003565/1.487, allocations: 1.954 MB / 1.397 GB, free: 13.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/1.492, allocations: 1.447 MB / 1.399 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/1.494, allocations: 1.111 MB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008784/1.495, allocations: 222.3 kB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/1.5, allocations: 1.558 MB / 1.401 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/1.501, allocations: 0.8024 MB / 1.402 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/1.503, allocations: 1.274 MB / 1.403 GB, free: 9.438 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00776/1.511, allocations: 3.736 MB / 1.407 GB, free: 6.875 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.511, allocations: 3.938 kB / 1.407 GB, free: 6.871 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.833e-06/1.511, allocations: 0 / 1.407 GB, free: 6.871 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002002/1.511, allocations: 0 / 1.407 GB, free: 6.871 MB / 1.092 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.008657/1.52, allocations: 2.925 MB / 1.41 GB, free: 4.738 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.52, allocations: 11.44 kB / 1.41 GB, free: 4.738 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00055/1.521, allocations: 248.8 kB / 1.41 GB, free: 4.543 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/1.525, allocations: 0.5648 MB / 1.411 GB, free: 4.277 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/1.53, allocations: 3.428 MB / 1.414 GB, free: 2.41 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.53, allocations: 133.7 kB / 1.414 GB, free: 2.348 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/1.53, allocations: 169.2 kB / 1.414 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/1.535, allocations: 1.969 MB / 1.416 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/1.535, allocations: 0 / 1.416 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/1.536, allocations: 76 kB / 1.416 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/1.536, allocations: 43.94 kB / 1.416 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/1.54, allocations: 2.109 MB / 1.418 GB, free: 14.75 MB / 1.107 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.01303/1.553, allocations: 6.716 MB / 1.425 GB, free: 7.695 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/1.557, allocations: 2.121 MB / 1.427 GB, free: 5.496 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/1.559, allocations: 0.7693 MB / 1.428 GB, free: 4.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/1.559, allocations: 437.7 kB / 1.428 GB, free: 4.227 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/1.562, allocations: 1.013 MB / 1.429 GB, free: 3.195 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.639e-06/1.562, allocations: 3.938 kB / 1.429 GB, free: 3.191 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.00813/1.57, allocations: 2.996 MB / 1.432 GB, free: 84 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/1.57, allocations: 197.2 kB / 1.432 GB, free: 15.84 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005763/1.576, allocations: 4.081 MB / 1.436 GB, free: 11.76 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004368/1.576, allocations: 53.7 kB / 1.436 GB, free: 11.7 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009765/1.577, allocations: 0.9062 MB / 1.437 GB, free: 10.78 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/1.578, allocations: 481 kB / 1.438 GB, free: 10.3 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/1.579, allocations: 242.8 kB / 1.438 GB, free: 10.06 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.579, allocations: 353.9 kB / 1.438 GB, free: 9.711 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/1.58, allocations: 0.5843 MB / 1.439 GB, free: 9.125 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.582, allocations: 0.8086 MB / 1.44 GB, free: 8.254 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/1.584, allocations: 1.333 MB / 1.441 GB, free: 6.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.584, allocations: 0 / 1.441 GB, free: 6.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004609/1.589, allocations: 1.803 MB / 1.443 GB, free: 5.082 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/1.589, allocations: 14.72 kB / 1.443 GB, free: 5.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.589, allocations: 3.984 kB / 1.443 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.59, allocations: 204.1 kB / 1.443 GB, free: 4.852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.592, allocations: 335.5 kB / 1.443 GB, free: 4.523 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006107/1.598, allocations: 7.32 MB / 1.45 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.6, allocations: 169.3 kB / 1.451 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/1.6, allocations: 47.97 kB / 1.451 GB, free: 12.29 MB / 1.139 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.001203/1.602, allocations: 499.8 kB / 1.451 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006515/1.602, allocations: 193.6 kB / 1.451 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/1.607, allocations: 2.149 MB / 1.453 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/1.607, allocations: 16 kB / 1.453 GB, free: 9.406 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.607, allocations: 0 / 1.453 GB, free: 9.406 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.607, allocations: 7.969 kB / 1.453 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/1.617, allocations: 4.14 MB / 1.457 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.617, allocations: 3.938 kB / 1.457 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.618, allocations: 319.6 kB / 1.458 GB, free: 4.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009415/1.619, allocations: 200.1 kB / 1.458 GB, free: 4.652 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.62, allocations: 43.95 kB / 1.458 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/1.626, allocations: 7.367 MB / 1.465 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.626, allocations: 0 / 1.465 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/1.631, allocations: 2.02 MB / 1.467 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.632, allocations: 0.5059 MB / 1.468 GB, free: 9.949 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007269/1.633, allocations: 39.98 kB / 1.468 GB, free: 9.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/1.635, allocations: 103.9 kB / 1.468 GB, free: 9.809 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.636, allocations: 117.2 kB / 1.468 GB, free: 9.695 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.636, allocations: 71.94 kB / 1.468 GB, free: 9.625 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004126/1.64, allocations: 3.132 MB / 1.471 GB, free: 6.5 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.91e-07/1.64, allocations: 0 / 1.471 GB, free: 6.5 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002726/1.643, allocations: 0.6898 MB / 1.472 GB, free: 5.809 MB / 1.154 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.006856/1.65, allocations: 3.226 MB / 1.475 GB, free: 2.73 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.654, allocations: 2.078 MB / 1.477 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.654, allocations: 4.562 kB / 1.477 GB, free: 0.582 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.656, allocations: 1.419 MB / 1.478 GB, free: 15.1 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.66, allocations: 0.5531 MB / 1.479 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/1.698, allocations: 21.01 MB / 1.499 GB, free: 9.316 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.7, allocations: 1.539 MB / 1.501 GB, free: 7.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00227/1.702, allocations: 0.5289 MB / 1.501 GB, free: 7.215 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/1.703, allocations: 0.8976 MB / 1.502 GB, free: 6.316 MB / 1.186 GB Notification: Performance of SimCode: time 1.523e-06/1.704, allocations: 0 / 1.502 GB, free: 6.316 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.814, allocations: 50.28 MB / 1.551 GB, free: 4.578 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/17.78, allocations: 6.859 kB / 1.551 GB, free: 4.574 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches