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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001877/0.001877, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.002046/0.002046, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 69.52 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7361/1.055, allocations: 166.1 MB / 1.226 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02621/1.082, allocations: 17.16 MB / 1.243 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/1.084, allocations: 27.81 kB / 1.243 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/1.087, allocations: 493 kB / 1.244 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/1.093, allocations: 1.638 MB / 1.245 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/1.098, allocations: 1.298 MB / 1.246 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004442/1.102, allocations: 2.879 MB / 1.249 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/1.106, allocations: 1.952 MB / 1.251 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007014/1.113, allocations: 1.42 MB / 1.253 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/1.115, allocations: 1.167 MB / 1.254 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0009061/1.116, allocations: 220 kB / 1.254 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/1.121, allocations: 1.564 MB / 1.255 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001637/1.123, allocations: 0.7946 MB / 1.256 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/1.126, allocations: 1.22 MB / 1.257 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005382/1.131, allocations: 2.705 MB / 1.26 GB, free: 484 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.131, allocations: 0 / 1.26 GB, free: 484 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/1.131, allocations: 4 kB / 1.26 GB, free: 480 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001354/1.131, allocations: 0 / 1.26 GB, free: 480 kB / 0.9669 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.007287/1.139, allocations: 2.775 MB / 1.263 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.139, allocations: 12.03 kB / 1.263 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/1.143, allocations: 0.5512 MB / 1.263 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/1.147, allocations: 1.592 MB / 1.265 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/1.147, allocations: 131.4 kB / 1.265 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/1.148, allocations: 164 kB / 1.265 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/1.153, allocations: 1.96 MB / 1.267 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/1.153, allocations: 0 / 1.267 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/1.153, allocations: 76 kB / 1.267 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/1.153, allocations: 40 kB / 1.267 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/1.158, allocations: 2.117 MB / 1.269 GB, free: 6.887 MB / 0.9825 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.01251/1.17, allocations: 6.254 MB / 1.275 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004045/1.174, allocations: 2.14 MB / 1.277 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/1.176, allocations: 0.7725 MB / 1.278 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000687/1.177, allocations: 433.5 kB / 1.279 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/1.179, allocations: 1.017 MB / 1.28 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.198e-06/1.179, allocations: 0 / 1.28 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.00772/1.187, allocations: 2.985 MB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/1.187, allocations: 201.2 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/1.19, allocations: 1.808 MB / 1.284 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/1.19, allocations: 57.7 kB / 1.285 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/1.191, allocations: 0.8428 MB / 1.285 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/1.191, allocations: 481 kB / 1.286 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/1.192, allocations: 254.8 kB / 1.286 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.192, allocations: 357.9 kB / 1.286 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/1.193, allocations: 0.6077 MB / 1.287 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/1.195, allocations: 0.8092 MB / 1.288 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/1.198, allocations: 1.357 MB / 1.289 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.198, allocations: 0 / 1.289 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00443/1.202, allocations: 1.838 MB / 1.291 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.202, allocations: 11.94 kB / 1.291 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.202, allocations: 0 / 1.291 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.203, allocations: 216.1 kB / 1.291 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.205, allocations: 331.6 kB / 1.291 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/1.212, allocations: 7.334 MB / 1.299 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.215, allocations: 194.6 kB / 1.299 GB, free: 7.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/1.215, allocations: 55.95 kB / 1.299 GB, free: 7.047 MB / 1.014 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.001415/1.216, allocations: 487.2 kB / 1.299 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007145/1.217, allocations: 181.8 kB / 1.299 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/1.223, allocations: 2.16 MB / 1.302 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.223, allocations: 16 kB / 1.302 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.223, allocations: 4 kB / 1.302 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.223, allocations: 7.969 kB / 1.302 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/1.231, allocations: 4.008 MB / 1.306 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.232, allocations: 0 / 1.306 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.233, allocations: 319.5 kB / 1.306 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009719/1.234, allocations: 200.1 kB / 1.306 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.234, allocations: 43.91 kB / 1.306 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006948/1.241, allocations: 7.351 MB / 1.313 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.241, allocations: 3.938 kB / 1.313 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/1.246, allocations: 2.014 MB / 1.315 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.248, allocations: 466.4 kB / 1.316 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/1.248, allocations: 32 kB / 1.316 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.25, allocations: 143.1 kB / 1.316 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.25, allocations: 117.1 kB / 1.316 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/1.25, allocations: 75.94 kB / 1.316 GB, free: 4.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002206/1.253, allocations: 1.289 MB / 1.317 GB, free: 3.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.253, allocations: 0 / 1.317 GB, free: 3.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002313/1.255, allocations: 0.6898 MB / 1.318 GB, free: 2.594 MB / 1.029 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.002626/1.258, allocations: 0.748 MB / 1.319 GB, free: 2.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006153/1.264, allocations: 2.55 MB / 1.321 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.264, allocations: 4.562 kB / 1.321 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.266, allocations: 1.418 MB / 1.323 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.269, allocations: 0.5597 MB / 1.323 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/1.278, allocations: 4.589 MB / 1.328 GB, free: 8.762 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.28, allocations: 1.49 MB / 1.329 GB, free: 7.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009384/1.281, allocations: 195.3 kB / 1.329 GB, free: 7.051 MB / 1.045 GB Notification: Performance of SimCode: time 1.263e-06/1.281, allocations: 0 / 1.329 GB, free: 7.051 MB / 1.045 GB Notification: Performance of Templates: time 0.08702/1.368, allocations: 67.31 MB / 1.395 GB, free: 3.797 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (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 & ./Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) 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) Reference file matches