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.007198/0.007198, allocations: 101.6 kB / 15.73 MB, free: 6.43 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.001674/0.001674, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.679/2.679, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 151.6 MB / 1.167 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.8112/1.099, allocations: 154.5 MB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01548/1.114, allocations: 10.55 MB / 1.328 GB, free: 5.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.116, allocations: 20.66 kB / 1.328 GB, free: 5.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.117, allocations: 278.3 kB / 1.328 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/1.122, allocations: 0.9767 MB / 1.329 GB, free: 4.539 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/1.125, allocations: 1.091 MB / 1.33 GB, free: 3.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003269/1.129, allocations: 1.725 MB / 1.332 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/1.131, allocations: 1.142 MB / 1.333 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/1.133, allocations: 0.7188 MB / 1.334 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/1.134, allocations: 0.6218 MB / 1.334 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/1.135, allocations: 134 kB / 1.334 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/1.137, allocations: 1.029 MB / 1.335 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/1.138, allocations: 384.1 kB / 1.336 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008605/1.139, allocations: 0.6726 MB / 1.336 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/1.142, allocations: 2.219 MB / 1.339 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.143, allocations: 1.5 kB / 1.339 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.143, allocations: 0 / 1.339 GB, free: 28 kB / 1.014 GB Notification: Performance of Transformations before backend: time 2.158e-05/1.143, allocations: 0 / 1.339 GB, free: 28 kB / 1.014 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.003556/1.146, allocations: 1.75 MB / 1.34 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.146, allocations: 8.938 kB / 1.34 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/1.148, allocations: 284.2 kB / 1.341 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.149, allocations: 0.9031 MB / 1.341 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/1.149, allocations: 77.81 kB / 1.341 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.15, allocations: 96.28 kB / 1.342 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/1.152, allocations: 1.106 MB / 1.343 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.152, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.152, allocations: 44.67 kB / 1.343 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.152, allocations: 30.47 kB / 1.343 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/1.154, allocations: 1.311 MB / 1.344 GB, free: 13.32 MB / 1.029 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.005559/1.16, allocations: 3.415 MB / 1.347 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/1.162, allocations: 1.102 MB / 1.348 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/1.163, allocations: 420.7 kB / 1.349 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/1.163, allocations: 141.4 kB / 1.349 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/1.164, allocations: 0.6202 MB / 1.35 GB, free: 10.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=95): time 2.585e-06/1.164, allocations: 1.188 kB / 1.35 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=95): time 0.004273/1.168, allocations: 1.63 MB / 1.351 GB, free: 9.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.169, allocations: 197.2 kB / 1.351 GB, free: 9.328 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.17, allocations: 0.8059 MB / 1.352 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/1.17, allocations: 46.44 kB / 1.352 GB, free: 8.953 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/1.17, allocations: 467.3 kB / 1.353 GB, free: 8.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/1.17, allocations: 335.1 kB / 1.353 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/1.171, allocations: 185.2 kB / 1.353 GB, free: 8.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.171, allocations: 341.1 kB / 1.353 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/1.172, allocations: 352.2 kB / 1.354 GB, free: 7.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/1.173, allocations: 477.9 kB / 1.354 GB, free: 7.504 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.174, allocations: 0.7856 MB / 1.355 GB, free: 7.094 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.174, allocations: 0 / 1.355 GB, free: 7.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002633/1.177, allocations: 1.098 MB / 1.356 GB, free: 6.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.177, allocations: 5.438 kB / 1.356 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.177, allocations: 3.938 kB / 1.356 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/1.178, allocations: 113.5 kB / 1.356 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/1.178, allocations: 208.8 kB / 1.356 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/1.182, allocations: 3.077 MB / 1.359 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.183, allocations: 116 kB / 1.36 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/1.183, allocations: 42.16 kB / 1.36 GB, free: 3.238 MB / 1.029 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.0005972/1.183, allocations: 306.6 kB / 1.36 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.184, allocations: 112.4 kB / 1.36 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/1.187, allocations: 1.31 MB / 1.361 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.187, allocations: 11.09 kB / 1.361 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.187, allocations: 0 / 1.361 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/1.187, allocations: 5.109 kB / 1.361 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/1.192, allocations: 2.426 MB / 1.364 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.192, allocations: 0 / 1.364 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/1.192, allocations: 183.7 kB / 1.364 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/1.193, allocations: 112.2 kB / 1.364 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/1.193, allocations: 34.52 kB / 1.364 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/1.196, allocations: 3.101 MB / 1.367 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.196, allocations: 7.875 kB / 1.367 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/1.199, allocations: 1.236 MB / 1.368 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/1.199, allocations: 319.7 kB / 1.368 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.199, allocations: 21.31 kB / 1.368 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/1.2, allocations: 79.16 kB / 1.369 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.2, allocations: 77.86 kB / 1.369 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.201, allocations: 52.81 kB / 1.369 GB, free: 12.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007695/1.201, allocations: 0.5672 MB / 1.369 GB, free: 12 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.653e-06/1.201, allocations: 0 / 1.369 GB, free: 12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001334/1.203, allocations: 459.4 kB / 1.37 GB, free: 11.88 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 (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.001682/1.204, allocations: 0.7271 MB / 1.37 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.207, allocations: 1.145 MB / 1.372 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.207, allocations: 0 / 1.372 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.208, allocations: 0.7423 MB / 1.372 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.21, allocations: 362.5 kB / 1.373 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/1.215, allocations: 2.038 MB / 1.375 GB, free: 9.055 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.216, allocations: 1.108 MB / 1.376 GB, free: 8.168 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00116/1.218, allocations: 309.4 kB / 1.376 GB, free: 8.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/1.218, allocations: 122.7 kB / 1.376 GB, free: 7.973 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/1.218, allocations: 0 / 1.376 GB, free: 7.973 MB / 1.045 GB Notification: Performance of Templates: time 0.03538/1.253, allocations: 20.21 MB / 1.396 GB, free: 9.184 MB / 1.061 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/jenkins/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