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.0008479/0.0008479, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005562/0.005562, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.64/2.64, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6761, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1736/0.8497, allocations: 150.2 MB / 1.17 GB, free: 9.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.8642, allocations: 10.42 MB / 1.18 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.8655, allocations: 19.88 kB / 1.18 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008939/0.8664, allocations: 230.4 kB / 1.18 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.8693, allocations: 0.8282 MB / 1.181 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.8718, allocations: 0.9515 MB / 1.182 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002079/0.8739, allocations: 1.705 MB / 1.184 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.8754, allocations: 0.9903 MB / 1.185 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.8776, allocations: 0.5462 MB / 1.185 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/0.8783, allocations: 0.4975 MB / 1.186 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.8784, allocations: 32 kB / 1.186 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.8804, allocations: 0.9282 MB / 1.186 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.8807, allocations: 262.8 kB / 1.187 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.8814, allocations: 0.557 MB / 1.187 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.8843, allocations: 2.064 MB / 1.189 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8843, allocations: 3.984 kB / 1.189 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8843, allocations: 4 kB / 1.189 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.8843, allocations: 0 / 1.189 GB, free: 4.949 MB / 0.9356 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.003087/0.8874, allocations: 1.454 MB / 1.191 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.8875, allocations: 12.02 kB / 1.191 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.8892, allocations: 278.1 kB / 1.191 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.8906, allocations: 0.8822 MB / 1.192 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.8907, allocations: 70 kB / 1.192 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.8908, allocations: 96 kB / 1.192 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.8929, allocations: 1.117 MB / 1.193 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.8929, allocations: 4 kB / 1.193 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.893, allocations: 36 kB / 1.193 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.8931, allocations: 24 kB / 1.193 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.8955, allocations: 1.339 MB / 1.194 GB, free: 15.51 MB / 0.9512 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.00552/0.901, allocations: 3.473 MB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.9031, allocations: 1.114 MB / 1.199 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/0.9039, allocations: 436.8 kB / 1.199 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.9042, allocations: 142 kB / 1.199 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.9054, allocations: 0.6371 MB / 1.2 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 3.687e-06/0.9054, allocations: 0 / 1.2 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004432/0.9099, allocations: 1.659 MB / 1.202 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.91, allocations: 196.9 kB / 1.202 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.9113, allocations: 0.8019 MB / 1.203 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.9114, allocations: 49.7 kB / 1.203 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.9118, allocations: 464.4 kB / 1.203 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.9122, allocations: 315.5 kB / 1.203 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.9123, allocations: 73.67 kB / 1.204 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9125, allocations: 345.9 kB / 1.204 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.9132, allocations: 365.7 kB / 1.204 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.9141, allocations: 485.6 kB / 1.205 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.9157, allocations: 0.8038 MB / 1.205 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9157, allocations: 0 / 1.205 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002864/0.9186, allocations: 1.115 MB / 1.207 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.9186, allocations: 4 kB / 1.207 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9186, allocations: 0 / 1.207 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/0.9194, allocations: 113.7 kB / 1.207 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.9204, allocations: 219.7 kB / 1.207 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.9236, allocations: 2.865 MB / 1.21 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.9248, allocations: 132.2 kB / 1.21 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.925, allocations: 43.91 kB / 1.21 GB, free: 15.05 MB / 0.9669 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.000654/0.9256, allocations: 304.9 kB / 1.21 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.9258, allocations: 110.7 kB / 1.21 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.9289, allocations: 1.341 MB / 1.212 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.929, allocations: 12 kB / 1.212 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.929, allocations: 0 / 1.212 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.929, allocations: 3.984 kB / 1.212 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.9335, allocations: 2.442 MB / 1.214 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.9335, allocations: 3.984 kB / 1.214 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.9344, allocations: 199.8 kB / 1.214 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.9351, allocations: 117.5 kB / 1.214 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.9352, allocations: 27.98 kB / 1.214 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.9382, allocations: 2.884 MB / 1.217 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9382, allocations: 8.125 kB / 1.217 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.941, allocations: 1.25 MB / 1.218 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.9416, allocations: 327.4 kB / 1.219 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.9417, allocations: 20 kB / 1.219 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.9427, allocations: 103.8 kB / 1.219 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.9429, allocations: 84.83 kB / 1.219 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.943, allocations: 47.97 kB / 1.219 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008172/0.9438, allocations: 0.5693 MB / 1.219 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9438, allocations: 0 / 1.219 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001468/0.9453, allocations: 455.1 kB / 1.22 GB, free: 4.375 MB / 0.9669 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.001864/0.9472, allocations: 0.7155 MB / 1.221 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002507/0.9497, allocations: 1.158 MB / 1.222 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9497, allocations: 0 / 1.222 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.9511, allocations: 0.7488 MB / 1.222 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.9529, allocations: 329.7 kB / 1.223 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.9573, allocations: 2.532 MB / 1.225 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.958, allocations: 1.104 MB / 1.226 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001198/0.9592, allocations: 303.7 kB / 1.227 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.9595, allocations: 123.4 kB / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.9595, allocations: 0 / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.03372/0.9932, allocations: 19.05 MB / 1.245 GB, free: 10.6 MB / 0.9981 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