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: translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.002216/0.002216, allocations: 199 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.269/2.269, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.52 kB / 0.8127 GB, free: 32.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2888, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7505/1.039, allocations: 164.9 MB / 1.111 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02044/1.06, allocations: 17.02 MB / 1.127 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/1.062, allocations: 27.34 kB / 1.127 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/1.064, allocations: 458.4 kB / 1.128 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006354/1.071, allocations: 1.538 MB / 1.129 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/1.075, allocations: 1.292 MB / 1.131 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004434/1.079, allocations: 2.685 MB / 1.133 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/1.082, allocations: 2 MB / 1.135 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/1.088, allocations: 1.397 MB / 1.137 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/1.09, allocations: 1.138 MB / 1.138 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005692/1.091, allocations: 221.6 kB / 1.138 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/1.095, allocations: 1.557 MB / 1.139 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/1.096, allocations: 0.8017 MB / 1.14 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/1.098, allocations: 1.188 MB / 1.141 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/1.104, allocations: 2.641 MB / 1.144 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.104, allocations: 0 / 1.144 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/1.104, allocations: 1 kB / 1.144 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.955e-05/1.104, allocations: 0 / 1.144 GB, free: 3.695 MB / 0.8575 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.006703/1.111, allocations: 2.74 MB / 1.147 GB, free: 18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.111, allocations: 8.688 kB / 1.147 GB, free: 18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/1.115, allocations: 0.5553 MB / 1.147 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/1.118, allocations: 1.597 MB / 1.149 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.118, allocations: 131.2 kB / 1.149 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/1.118, allocations: 169.4 kB / 1.149 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/1.122, allocations: 1.962 MB / 1.151 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/1.122, allocations: 7.875 kB / 1.151 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.123, allocations: 74.56 kB / 1.151 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/1.123, allocations: 44.75 kB / 1.151 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/1.126, allocations: 2.111 MB / 1.153 GB, free: 15.52 MB / 0.8731 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.01112/1.137, allocations: 5.854 MB / 1.159 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/1.141, allocations: 2.136 MB / 1.161 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.142, allocations: 0.7715 MB / 1.162 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/1.143, allocations: 428.8 kB / 1.162 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/1.145, allocations: 1.029 MB / 1.163 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/1.145, allocations: 0 / 1.163 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.007104/1.152, allocations: 2.981 MB / 1.166 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.152, allocations: 198.5 kB / 1.166 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/1.155, allocations: 1.806 MB / 1.168 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.156, allocations: 64.39 kB / 1.168 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/1.157, allocations: 0.8316 MB / 1.169 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/1.157, allocations: 486.4 kB / 1.169 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006074/1.158, allocations: 264.5 kB / 1.17 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.158, allocations: 359.4 kB / 1.17 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/1.16, allocations: 0.6 MB / 1.171 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.161, allocations: 0.8187 MB / 1.171 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.164, allocations: 1.351 MB / 1.173 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.164, allocations: 4 kB / 1.173 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004336/1.168, allocations: 1.835 MB / 1.174 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.168, allocations: 10.41 kB / 1.174 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.168, allocations: 0 / 1.174 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.169, allocations: 211.5 kB / 1.175 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.171, allocations: 344.3 kB / 1.175 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/1.177, allocations: 7.326 MB / 1.182 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.179, allocations: 179.2 kB / 1.182 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/1.179, allocations: 57.31 kB / 1.182 GB, free: 12.68 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.001468/1.181, allocations: 487.6 kB / 1.183 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008503/1.182, allocations: 181.8 kB / 1.183 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/1.187, allocations: 2.147 MB / 1.185 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.187, allocations: 15.69 kB / 1.185 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.187, allocations: 2.906 kB / 1.185 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.187, allocations: 7.969 kB / 1.185 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008666/1.196, allocations: 4.013 MB / 1.189 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.196, allocations: 3.938 kB / 1.189 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.197, allocations: 325.6 kB / 1.189 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009066/1.198, allocations: 202 kB / 1.19 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.198, allocations: 37.53 kB / 1.19 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0059/1.204, allocations: 7.366 MB / 1.197 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.204, allocations: 3.938 kB / 1.197 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/1.209, allocations: 2.009 MB / 1.199 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.211, allocations: 467.7 kB / 1.199 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006327/1.211, allocations: 43.52 kB / 1.199 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.213, allocations: 121.8 kB / 1.199 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.213, allocations: 114.5 kB / 1.199 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.214, allocations: 73.06 kB / 1.2 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002352/1.216, allocations: 1.292 MB / 1.201 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.8e-07/1.216, allocations: 0 / 1.201 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002691/1.219, allocations: 0.6679 MB / 1.201 GB, free: 14.53 MB / 0.9044 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.002331/1.221, allocations: 0.748 MB / 1.202 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005843/1.227, allocations: 2.547 MB / 1.205 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.227, allocations: 6.891 kB / 1.205 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002314/1.229, allocations: 1.425 MB / 1.206 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.233, allocations: 0.5303 MB / 1.207 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009987/1.243, allocations: 4.709 MB / 1.211 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.245, allocations: 1.497 MB / 1.213 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.246, allocations: 191.3 kB / 1.213 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of SimCode: time 1.012e-06/1.246, allocations: 0 / 1.213 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of Templates: time 0.0787/1.324, allocations: 66.95 MB / 1.278 GB, free: 3.516 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (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 & ./Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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