Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001308/0.001308, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 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.367/2.367, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.05 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7905, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1621/0.9527, allocations: 154.5 MB / 1.318 GB, free: 8.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.9679, allocations: 10.54 MB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.9693, allocations: 15.94 kB / 1.329 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.9704, allocations: 289.6 kB / 1.329 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.9738, allocations: 0.9807 MB / 1.33 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.9766, allocations: 1.084 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.9788, allocations: 1.741 MB / 1.333 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.9803, allocations: 1.144 MB / 1.334 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.9823, allocations: 0.735 MB / 1.334 GB, free: 8.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.9831, allocations: 0.6184 MB / 1.335 GB, free: 7.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.9833, allocations: 136 kB / 1.335 GB, free: 7.426 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.9852, allocations: 1.026 MB / 1.336 GB, free: 6.398 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.9856, allocations: 386.8 kB / 1.336 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.9862, allocations: 0.6724 MB / 1.337 GB, free: 5.344 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003221/0.9895, allocations: 2.22 MB / 1.339 GB, free: 3.117 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9895, allocations: 0 / 1.339 GB, free: 3.117 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9895, allocations: 0 / 1.339 GB, free: 3.117 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.921e-05/0.9895, allocations: 0 / 1.339 GB, free: 3.117 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003323/0.9929, allocations: 1.703 MB / 1.341 GB, free: 1.359 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9929, allocations: 12.03 kB / 1.341 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.9946, allocations: 270.1 kB / 1.341 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.996, allocations: 0.9017 MB / 1.342 GB, free: 140 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.9961, allocations: 74 kB / 1.342 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.9962, allocations: 96.05 kB / 1.342 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.9981, allocations: 1.106 MB / 1.343 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.9981, allocations: 4 kB / 1.343 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.9982, allocations: 43.94 kB / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.9983, allocations: 27.94 kB / 1.343 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/1, allocations: 1.323 MB / 1.345 GB, free: 13.43 MB / 1.076 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.005304/1.006, allocations: 3.396 MB / 1.348 GB, free: 9.871 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/1.008, allocations: 1.104 MB / 1.349 GB, free: 8.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/1.008, allocations: 424 kB / 1.349 GB, free: 8.328 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/1.009, allocations: 134 kB / 1.35 GB, free: 8.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/1.01, allocations: 0.6255 MB / 1.35 GB, free: 7.539 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/1.01, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.00434/1.014, allocations: 1.631 MB / 1.352 GB, free: 5.855 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.014, allocations: 188.9 kB / 1.352 GB, free: 5.629 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.016, allocations: 0.8096 MB / 1.353 GB, free: 4.809 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/1.016, allocations: 45.7 kB / 1.353 GB, free: 4.758 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/1.016, allocations: 460.5 kB / 1.353 GB, free: 4.301 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/1.016, allocations: 319.4 kB / 1.354 GB, free: 3.984 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.017, allocations: 182.5 kB / 1.354 GB, free: 3.801 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.017, allocations: 345.9 kB / 1.354 GB, free: 3.457 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/1.018, allocations: 349.8 kB / 1.354 GB, free: 3.113 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008976/1.019, allocations: 481.6 kB / 1.355 GB, free: 2.621 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.02, allocations: 0.7804 MB / 1.356 GB, free: 1.828 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.02, allocations: 0 / 1.356 GB, free: 1.828 MB / 1.076 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002587/1.023, allocations: 1.091 MB / 1.357 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.023, allocations: 4 kB / 1.357 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.023, allocations: 0 / 1.357 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/1.023, allocations: 121.7 kB / 1.357 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/1.024, allocations: 203.7 kB / 1.357 GB, free: 408 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/1.028, allocations: 3.069 MB / 1.36 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.029, allocations: 111.2 kB / 1.36 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/1.029, allocations: 44.03 kB / 1.36 GB, free: 12.89 MB / 1.092 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006252/1.03, allocations: 315.3 kB / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/1.03, allocations: 102.9 kB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.033, allocations: 1.318 MB / 1.362 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.033, allocations: 12 kB / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.033, allocations: 0 / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.033, allocations: 7.969 kB / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/1.037, allocations: 2.416 MB / 1.364 GB, free: 8.641 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.037, allocations: 3.984 kB / 1.364 GB, free: 8.637 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/1.038, allocations: 183.8 kB / 1.364 GB, free: 8.457 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005633/1.039, allocations: 105.6 kB / 1.365 GB, free: 8.348 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/1.039, allocations: 35.91 kB / 1.365 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/1.042, allocations: 3.089 MB / 1.368 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.042, allocations: 3.938 kB / 1.368 GB, free: 4.934 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/1.044, allocations: 1.244 MB / 1.369 GB, free: 3.664 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/1.045, allocations: 307.5 kB / 1.369 GB, free: 3.344 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.045, allocations: 27.98 kB / 1.369 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/1.046, allocations: 73.61 kB / 1.369 GB, free: 3.246 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.046, allocations: 88.81 kB / 1.369 GB, free: 3.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/1.046, allocations: 47.97 kB / 1.369 GB, free: 3.113 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007245/1.047, allocations: 0.5693 MB / 1.37 GB, free: 2.547 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 1.37 GB, free: 2.547 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001311/1.048, allocations: 447.2 kB / 1.37 GB, free: 2.109 MB / 1.092 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001718/1.05, allocations: 0.71 MB / 1.371 GB, free: 1.559 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002259/1.052, allocations: 1.146 MB / 1.372 GB, free: 396 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.052, allocations: 0 / 1.372 GB, free: 396 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.054, allocations: 0.7528 MB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.055, allocations: 359 kB / 1.373 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/1.059, allocations: 2.048 MB / 1.375 GB, free: 13.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/1.059, allocations: 1.095 MB / 1.376 GB, free: 12.08 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.06, allocations: 139.4 kB / 1.376 GB, free: 11.95 MB / 1.107 GB Notification: Performance of SimCode: time 1.703e-06/1.06, allocations: 0 / 1.376 GB, free: 11.95 MB / 1.107 GB Notification: Performance of Templates: time 0.03873/1.099, allocations: 27.49 MB / 1.403 GB, free: 488 kB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches