Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001246/0.001246, allocations: 103.2 kB / 16.4 MB, free: 6.461 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.00105/0.00105, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 75.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8102, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1816/0.9918, allocations: 168.5 MB / 1.332 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02182/1.014, allocations: 17.36 MB / 1.349 GB, free: 9.332 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/1.016, allocations: 31.81 kB / 1.349 GB, free: 9.301 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/1.018, allocations: 0.5817 MB / 1.349 GB, free: 8.715 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/1.025, allocations: 1.825 MB / 1.351 GB, free: 6.887 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/1.029, allocations: 1.452 MB / 1.353 GB, free: 5.449 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004094/1.033, allocations: 2.883 MB / 1.355 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/1.036, allocations: 1.948 MB / 1.357 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/1.041, allocations: 1.473 MB / 1.359 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.043, allocations: 1.117 MB / 1.36 GB, free: 14 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007259/1.044, allocations: 220 kB / 1.36 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/1.048, allocations: 1.56 MB / 1.362 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/1.049, allocations: 0.7946 MB / 1.362 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/1.051, allocations: 1.228 MB / 1.364 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006163/1.057, allocations: 3.598 MB / 1.367 GB, free: 6.586 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.057, allocations: 0 / 1.367 GB, free: 6.586 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/1.057, allocations: 0 / 1.367 GB, free: 6.586 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001354/1.057, allocations: 0 / 1.367 GB, free: 6.586 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.006674/1.064, allocations: 2.767 MB / 1.37 GB, free: 3.758 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.064, allocations: 12.92 kB / 1.37 GB, free: 3.746 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/1.068, allocations: 0.5589 MB / 1.37 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/1.07, allocations: 1.646 MB / 1.372 GB, free: 1.484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/1.07, allocations: 123.4 kB / 1.372 GB, free: 1.363 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.071, allocations: 172 kB / 1.372 GB, free: 1.195 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/1.074, allocations: 1.96 MB / 1.374 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/1.074, allocations: 0 / 1.374 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.074, allocations: 72 kB / 1.374 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/1.074, allocations: 44 kB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/1.077, allocations: 2.109 MB / 1.376 GB, free: 12.96 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.00955/1.087, allocations: 6.187 MB / 1.382 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/1.09, allocations: 2.133 MB / 1.384 GB, free: 4.207 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.092, allocations: 0.7725 MB / 1.385 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/1.092, allocations: 441.5 kB / 1.386 GB, free: 2.93 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/1.094, allocations: 1.02 MB / 1.387 GB, free: 1.891 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.097e-06/1.094, allocations: 0 / 1.387 GB, free: 1.891 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006816/1.101, allocations: 2.985 MB / 1.389 GB, free: 14.79 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.101, allocations: 205.2 kB / 1.39 GB, free: 14.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/1.104, allocations: 1.805 MB / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.104, allocations: 57.7 kB / 1.391 GB, free: 12.67 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/1.105, allocations: 0.839 MB / 1.392 GB, free: 11.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/1.105, allocations: 477 kB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/1.106, allocations: 266.7 kB / 1.393 GB, free: 11.08 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.106, allocations: 361.8 kB / 1.393 GB, free: 10.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.107, allocations: 0.6076 MB / 1.394 GB, free: 10.11 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.108, allocations: 0.817 MB / 1.395 GB, free: 9.242 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/1.111, allocations: 1.357 MB / 1.396 GB, free: 7.871 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.111, allocations: 0 / 1.396 GB, free: 7.871 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004067/1.115, allocations: 1.83 MB / 1.398 GB, free: 6.016 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.115, allocations: 7.938 kB / 1.398 GB, free: 6.008 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.115, allocations: 4 kB / 1.398 GB, free: 6.004 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.116, allocations: 208.2 kB / 1.398 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.118, allocations: 339.5 kB / 1.398 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/1.124, allocations: 7.33 MB / 1.406 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.126, allocations: 166.7 kB / 1.406 GB, free: 13.26 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/1.126, allocations: 59.95 kB / 1.406 GB, free: 13.2 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: 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.001251/1.127, allocations: 481.4 kB / 1.406 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/1.128, allocations: 185.8 kB / 1.406 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/1.133, allocations: 2.14 MB / 1.409 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.133, allocations: 16 kB / 1.409 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.133, allocations: 4 kB / 1.409 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.133, allocations: 7.969 kB / 1.409 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/1.141, allocations: 4.001 MB / 1.412 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.141, allocations: 7.938 kB / 1.412 GB, free: 6.258 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.142, allocations: 323.5 kB / 1.413 GB, free: 5.941 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008819/1.143, allocations: 200.1 kB / 1.413 GB, free: 5.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.143, allocations: 39.97 kB / 1.413 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/1.149, allocations: 7.359 MB / 1.42 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.149, allocations: 3.938 kB / 1.42 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/1.153, allocations: 2.008 MB / 1.422 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.154, allocations: 478.3 kB / 1.423 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/1.155, allocations: 28 kB / 1.423 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.156, allocations: 111.6 kB / 1.423 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.157, allocations: 113.1 kB / 1.423 GB, free: 10.85 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.157, allocations: 67.95 kB / 1.423 GB, free: 10.78 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001887/1.159, allocations: 1.289 MB / 1.424 GB, free: 9.496 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.159, allocations: 4 kB / 1.424 GB, free: 9.492 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001888/1.161, allocations: 0.6897 MB / 1.425 GB, free: 8.801 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.001927/1.162, allocations: 0.7621 MB / 1.426 GB, free: 8.195 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003727/1.166, allocations: 2.102 MB / 1.428 GB, free: 6.027 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.166, allocations: 0.5625 kB / 1.428 GB, free: 6.027 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.168, allocations: 1.426 MB / 1.429 GB, free: 4.539 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.171, allocations: 0.5462 MB / 1.43 GB, free: 4.008 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/1.178, allocations: 3.774 MB / 1.433 GB, free: 188 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.18, allocations: 1.49 MB / 1.435 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008735/1.18, allocations: 191.3 kB / 1.435 GB, free: 14.47 MB / 1.17 GB Notification: Performance of SimCode: time 6.61e-07/1.18, allocations: 0 / 1.435 GB, free: 14.47 MB / 1.17 GB Notification: Performance of Templates: time 0.07269/1.253, allocations: 67.52 MB / 1.501 GB, free: 10.93 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches