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.001495/0.001495, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001582/0.001582, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.437/2.437, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 72.03 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.317, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.7186/1.036, allocations: 168.5 MB / 1.182 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02557/1.061, allocations: 17.33 MB / 1.199 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/1.064, allocations: 32.53 kB / 1.199 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/1.066, allocations: 0.5616 MB / 1.2 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/1.073, allocations: 1.797 MB / 1.202 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004648/1.078, allocations: 1.428 MB / 1.203 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00496/1.083, allocations: 2.867 MB / 1.206 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/1.087, allocations: 1.949 MB / 1.208 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/1.092, allocations: 1.423 MB / 1.209 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/1.094, allocations: 1.117 MB / 1.21 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008753/1.095, allocations: 221.7 kB / 1.211 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/1.099, allocations: 1.521 MB / 1.212 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/1.1, allocations: 0.7931 MB / 1.213 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002449/1.102, allocations: 1.226 MB / 1.214 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006293/1.109, allocations: 3.536 MB / 1.217 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.109, allocations: 0 / 1.217 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/1.109, allocations: 4 kB / 1.217 GB, free: 13.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001378/1.109, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.92 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.006166/1.115, allocations: 2.772 MB / 1.22 GB, free: 10.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.115, allocations: 8.922 kB / 1.22 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/1.119, allocations: 0.5551 MB / 1.221 GB, free: 9.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/1.122, allocations: 1.592 MB / 1.222 GB, free: 8.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.122, allocations: 135.3 kB / 1.222 GB, free: 8.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.122, allocations: 164 kB / 1.223 GB, free: 7.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/1.126, allocations: 1.968 MB / 1.224 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.126, allocations: 0 / 1.224 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.126, allocations: 72 kB / 1.225 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.126, allocations: 40 kB / 1.225 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/1.13, allocations: 2.117 MB / 1.227 GB, free: 3.707 MB / 0.92 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.01047/1.14, allocations: 6.266 MB / 1.233 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.144, allocations: 2.134 MB / 1.235 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/1.145, allocations: 0.773 MB / 1.236 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/1.146, allocations: 433.6 kB / 1.236 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/1.148, allocations: 1.02 MB / 1.237 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.698e-06/1.148, allocations: 0 / 1.237 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.00754/1.155, allocations: 2.993 MB / 1.24 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.156, allocations: 197.2 kB / 1.24 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/1.159, allocations: 1.805 MB / 1.242 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/1.159, allocations: 57.7 kB / 1.242 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/1.16, allocations: 0.8428 MB / 1.243 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/1.161, allocations: 489 kB / 1.243 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/1.161, allocations: 250.8 kB / 1.243 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.161, allocations: 357.9 kB / 1.244 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/1.163, allocations: 0.6077 MB / 1.244 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.164, allocations: 0.813 MB / 1.245 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.167, allocations: 1.36 MB / 1.247 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.167, allocations: 0 / 1.247 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004453/1.172, allocations: 1.83 MB / 1.248 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.172, allocations: 18.42 kB / 1.248 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.172, allocations: 8.047 kB / 1.248 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.173, allocations: 200.1 kB / 1.249 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.175, allocations: 347.5 kB / 1.249 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/1.181, allocations: 7.317 MB / 1.256 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.183, allocations: 174.7 kB / 1.256 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/1.184, allocations: 59.95 kB / 1.256 GB, free: 3.879 MB / 0.9512 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.001399/1.185, allocations: 479.2 kB / 1.257 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007176/1.186, allocations: 181.8 kB / 1.257 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/1.191, allocations: 2.148 MB / 1.259 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.191, allocations: 16 kB / 1.259 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.191, allocations: 4 kB / 1.259 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.191, allocations: 7.969 kB / 1.259 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/1.199, allocations: 4.008 MB / 1.263 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.199, allocations: 0 / 1.263 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.201, allocations: 323.5 kB / 1.263 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009462/1.202, allocations: 200.1 kB / 1.263 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/1.202, allocations: 47.89 kB / 1.263 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006365/1.209, allocations: 7.355 MB / 1.271 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.209, allocations: 7.969 kB / 1.271 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/1.214, allocations: 2.014 MB / 1.273 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.215, allocations: 466.4 kB / 1.273 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/1.215, allocations: 28 kB / 1.273 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.217, allocations: 105.4 kB / 1.273 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.217, allocations: 117.1 kB / 1.273 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.218, allocations: 63.95 kB / 1.273 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002277/1.22, allocations: 1.297 MB / 1.275 GB, free: 164 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/1.22, allocations: 0 / 1.275 GB, free: 164 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002567/1.223, allocations: 0.682 MB / 1.275 GB, free: 15.48 MB / 0.9825 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.002373/1.225, allocations: 0.7699 MB / 1.276 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006255/1.231, allocations: 2.539 MB / 1.278 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.231, allocations: 4.562 kB / 1.278 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002589/1.234, allocations: 1.426 MB / 1.28 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.237, allocations: 0.5525 MB / 1.28 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/1.246, allocations: 3.812 MB / 1.284 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.247, allocations: 1.494 MB / 1.286 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/1.248, allocations: 199.3 kB / 1.286 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/1.248, allocations: 0 / 1.286 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of Templates: time 0.07783/1.326, allocations: 67.3 MB / 1.352 GB, free: 1.453 MB / 1.045 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