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.005194/0.005194, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001169/0.001169, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.51/2.51, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 70.25 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1849/0.4825, allocations: 167.2 MB / 1.251 GB, free: 10.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.711/1.194, allocations: 17.2 MB / 1.268 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/1.195, allocations: 31.91 kB / 1.268 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/1.197, allocations: 0.5303 MB / 1.268 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/1.203, allocations: 1.681 MB / 1.27 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004724/1.208, allocations: 1.435 MB / 1.271 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005071/1.213, allocations: 2.687 MB / 1.274 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/1.216, allocations: 1.995 MB / 1.276 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005481/1.222, allocations: 1.413 MB / 1.277 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/1.224, allocations: 1.089 MB / 1.278 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006072/1.225, allocations: 222.7 kB / 1.278 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004293/1.229, allocations: 1.553 MB / 1.28 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/1.23, allocations: 0.807 MB / 1.281 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/1.233, allocations: 1.238 MB / 1.282 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/1.24, allocations: 3.666 MB / 1.285 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.24, allocations: 0.6094 kB / 1.285 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/1.24, allocations: 0.9062 kB / 1.285 GB, free: 1.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001018/1.24, allocations: 0 / 1.285 GB, free: 1.781 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.007052/1.247, allocations: 2.901 MB / 1.288 GB, free: 412 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.247, allocations: 11.25 kB / 1.288 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003694/1.248, allocations: 246.4 kB / 1.289 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/1.252, allocations: 0.5694 MB / 1.289 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/1.258, allocations: 3.435 MB / 1.292 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/1.258, allocations: 127.8 kB / 1.293 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/1.259, allocations: 171.8 kB / 1.293 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/1.263, allocations: 1.952 MB / 1.295 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/1.263, allocations: 5.406 kB / 1.295 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/1.263, allocations: 70.81 kB / 1.295 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/1.263, allocations: 45.19 kB / 1.295 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/1.267, allocations: 2.116 MB / 1.297 GB, free: 15.53 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.01052/1.277, allocations: 6.341 MB / 1.303 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/1.281, allocations: 2.123 MB / 1.305 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.282, allocations: 0.7755 MB / 1.306 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/1.283, allocations: 432.5 kB / 1.306 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/1.284, allocations: 1.01 MB / 1.307 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 5.72e-06/1.284, allocations: 4.859 kB / 1.307 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.007038/1.291, allocations: 3.004 MB / 1.31 GB, free: 12.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.292, allocations: 196.4 kB / 1.31 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/1.296, allocations: 4.076 MB / 1.314 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/1.297, allocations: 58.2 kB / 1.314 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/1.297, allocations: 0.8992 MB / 1.315 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/1.298, allocations: 480.7 kB / 1.316 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/1.298, allocations: 244.4 kB / 1.316 GB, free: 11.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.299, allocations: 353 kB / 1.316 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.3, allocations: 0.5842 MB / 1.317 GB, free: 10.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.301, allocations: 0.8099 MB / 1.318 GB, free: 10.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/1.303, allocations: 1.332 MB / 1.319 GB, free: 10.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.303, allocations: 2.094 kB / 1.319 GB, free: 10.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004194/1.308, allocations: 1.802 MB / 1.321 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.308, allocations: 4.719 kB / 1.321 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.308, allocations: 3.938 kB / 1.321 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.309, allocations: 214.5 kB / 1.321 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.31, allocations: 331.1 kB / 1.321 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/1.316, allocations: 7.318 MB / 1.328 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.318, allocations: 166.8 kB / 1.329 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.318, allocations: 57.91 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.001377/1.319, allocations: 488.4 kB / 1.329 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.32, allocations: 192.5 kB / 1.329 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/1.325, allocations: 2.156 MB / 1.331 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.325, allocations: 19.33 kB / 1.331 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.325, allocations: 2.781 kB / 1.331 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/1.325, allocations: 9.281 kB / 1.331 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/1.333, allocations: 4.13 MB / 1.335 GB, free: 492 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.333, allocations: 0 / 1.335 GB, free: 492 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.334, allocations: 319.9 kB / 1.336 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/1.335, allocations: 204.4 kB / 1.336 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.335, allocations: 46.36 kB / 1.336 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/1.341, allocations: 7.347 MB / 1.343 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.341, allocations: 0.875 kB / 1.343 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/1.346, allocations: 2.026 MB / 1.345 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.347, allocations: 0.5122 MB / 1.346 GB, free: 8.023 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/1.347, allocations: 31.88 kB / 1.346 GB, free: 8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.349, allocations: 110.6 kB / 1.346 GB, free: 7.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.349, allocations: 120.5 kB / 1.346 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.349, allocations: 71.84 kB / 1.346 GB, free: 7.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003222/1.353, allocations: 3.128 MB / 1.349 GB, free: 6.926 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.51e-07/1.353, allocations: 3.438 kB / 1.349 GB, free: 6.926 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002546/1.355, allocations: 0.6677 MB / 1.35 GB, free: 6.762 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.006497/1.362, allocations: 3.224 MB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003743/1.365, allocations: 2.066 MB / 1.355 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.365, allocations: 10.98 kB / 1.355 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/1.368, allocations: 1.428 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.003104/1.371, allocations: 0.5435 MB / 1.357 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03861/1.409, allocations: 21.12 MB / 1.377 GB, free: 5.527 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.411, allocations: 1.533 MB / 1.379 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00258/1.414, allocations: 0.5287 MB / 1.379 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.416, allocations: 0.9053 MB / 1.38 GB, free: 2.52 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/1.416, allocations: 3.094 kB / 1.38 GB, free: 2.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/1.524, allocations: 49.44 MB / 1.429 GB, free: 1.551 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.48, allocations: 11.92 kB / 1.429 GB, free: 1.539 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