Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0013/0.0013, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001503/0.001503, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.62 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.8573/1.205, allocations: 168.4 MB / 1.229 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02255/1.227, allocations: 17.34 MB / 1.246 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/1.23, allocations: 31.81 kB / 1.246 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/1.232, allocations: 0.57 MB / 1.246 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/1.238, allocations: 1.78 MB / 1.248 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/1.242, allocations: 1.439 MB / 1.249 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004486/1.246, allocations: 2.859 MB / 1.252 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/1.249, allocations: 1.956 MB / 1.254 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/1.254, allocations: 1.414 MB / 1.255 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/1.256, allocations: 1.12 MB / 1.257 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/1.256, allocations: 224 kB / 1.257 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/1.259, allocations: 1.525 MB / 1.258 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006916/1.26, allocations: 0.7907 MB / 1.259 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/1.262, allocations: 1.232 MB / 1.26 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005418/1.267, allocations: 3.528 MB / 1.264 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.267, allocations: 0 / 1.264 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/1.267, allocations: 0 / 1.264 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.788e-05/1.267, allocations: 4 kB / 1.264 GB, free: 12.76 MB / 0.9825 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.00463/1.272, allocations: 2.775 MB / 1.266 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.272, allocations: 12.03 kB / 1.266 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/1.275, allocations: 0.5591 MB / 1.267 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.278, allocations: 1.588 MB / 1.268 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/1.278, allocations: 135.3 kB / 1.269 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.278, allocations: 168 kB / 1.269 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/1.281, allocations: 1.964 MB / 1.271 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/1.281, allocations: 0 / 1.271 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.281, allocations: 72 kB / 1.271 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.281, allocations: 44 kB / 1.271 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/1.285, allocations: 2.113 MB / 1.273 GB, free: 3.164 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.009213/1.294, allocations: 6.266 MB / 1.279 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/1.298, allocations: 2.134 MB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/1.299, allocations: 0.7693 MB / 1.282 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/1.299, allocations: 429.6 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/1.301, allocations: 1.017 MB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.258e-06/1.301, allocations: 0 / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006816/1.308, allocations: 3 MB / 1.286 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.308, allocations: 197.2 kB / 1.286 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.311, allocations: 1.801 MB / 1.288 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.311, allocations: 57.7 kB / 1.288 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/1.312, allocations: 0.8389 MB / 1.289 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/1.312, allocations: 485 kB / 1.289 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.313, allocations: 258.7 kB / 1.29 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.313, allocations: 361.9 kB / 1.29 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.314, allocations: 0.6077 MB / 1.291 GB, free: 256 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.315, allocations: 0.813 MB / 1.291 GB, free: 15.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/1.318, allocations: 1.357 MB / 1.293 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.318, allocations: 0 / 1.293 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004177/1.322, allocations: 1.834 MB / 1.295 GB, free: 12.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.322, allocations: 11.92 kB / 1.295 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.322, allocations: 3.938 kB / 1.295 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.323, allocations: 208.2 kB / 1.295 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.325, allocations: 347.5 kB / 1.295 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/1.331, allocations: 7.323 MB / 1.302 GB, free: 3.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.333, allocations: 172.7 kB / 1.302 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/1.333, allocations: 59.95 kB / 1.302 GB, free: 3.328 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.001174/1.334, allocations: 483.2 kB / 1.303 GB, free: 2.848 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/1.335, allocations: 177.8 kB / 1.303 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/1.34, allocations: 2.144 MB / 1.305 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.34, allocations: 19.94 kB / 1.305 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.34, allocations: 0 / 1.305 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.34, allocations: 11.97 kB / 1.305 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007559/1.348, allocations: 4.004 MB / 1.309 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.348, allocations: 0 / 1.309 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.349, allocations: 335.5 kB / 1.309 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/1.35, allocations: 188.1 kB / 1.31 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/1.35, allocations: 47.95 kB / 1.31 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005643/1.356, allocations: 7.363 MB / 1.317 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.356, allocations: 3.938 kB / 1.317 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/1.36, allocations: 2.006 MB / 1.319 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.361, allocations: 466.4 kB / 1.319 GB, free: 1.219 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/1.362, allocations: 32 kB / 1.319 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.364, allocations: 105.2 kB / 1.319 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.364, allocations: 117.1 kB / 1.32 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.364, allocations: 67.95 kB / 1.32 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001955/1.366, allocations: 1.293 MB / 1.321 GB, free: 15.62 MB / 1.045 GB Notification: Performance of sort global known variables: time 2e-07/1.366, allocations: 0 / 1.321 GB, free: 15.62 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002142/1.368, allocations: 0.682 MB / 1.322 GB, free: 14.93 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.001958/1.37, allocations: 0.7633 MB / 1.322 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005537/1.376, allocations: 2.543 MB / 1.325 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.376, allocations: 0.5625 kB / 1.325 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.378, allocations: 1.422 MB / 1.326 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.381, allocations: 0.5535 MB / 1.327 GB, free: 9.727 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/1.388, allocations: 3.83 MB / 1.33 GB, free: 5.863 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.389, allocations: 1.486 MB / 1.332 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/1.39, allocations: 195.3 kB / 1.332 GB, free: 4.156 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/1.39, allocations: 3.938 kB / 1.332 GB, free: 4.152 MB / 1.045 GB Notification: Performance of Templates: time 0.07408/1.464, allocations: 67.3 MB / 1.398 GB, free: 0.9141 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches