Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_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.001822/0.001822, allocations: 115 kB / 16.37 MB, free: 6.012 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.00206/0.00206, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.7 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3264, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7782/1.105, allocations: 154.5 MB / 1.178 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01438/1.119, allocations: 10.55 MB / 1.188 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.12, allocations: 17.22 kB / 1.188 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009206/1.121, allocations: 287.4 kB / 1.188 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003137/1.124, allocations: 0.9761 MB / 1.189 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/1.127, allocations: 1.089 MB / 1.19 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002121/1.129, allocations: 1.715 MB / 1.192 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.131, allocations: 1.148 MB / 1.193 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/1.133, allocations: 0.7179 MB / 1.194 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/1.133, allocations: 0.6228 MB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/1.134, allocations: 134.3 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/1.136, allocations: 1.028 MB / 1.195 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/1.136, allocations: 378.6 kB / 1.196 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/1.137, allocations: 0.6796 MB / 1.196 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.139, allocations: 2.206 MB / 1.199 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.139, allocations: 0 / 1.199 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.347e-06/1.139, allocations: 2.344 kB / 1.199 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.98e-05/1.139, allocations: 3.938 kB / 1.199 GB, free: 8.477 MB / 0.9044 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.002922/1.142, allocations: 1.704 MB / 1.2 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.142, allocations: 12.5 kB / 1.2 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/1.144, allocations: 268.6 kB / 1.201 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.145, allocations: 0.8958 MB / 1.201 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/1.145, allocations: 73.25 kB / 1.202 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.145, allocations: 94.97 kB / 1.202 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/1.147, allocations: 1.111 MB / 1.203 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.147, allocations: 0 / 1.203 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/1.147, allocations: 42.19 kB / 1.203 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/1.147, allocations: 25.09 kB / 1.203 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/1.15, allocations: 1.322 MB / 1.204 GB, free: 4.922 MB / 0.9044 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.004916/1.154, allocations: 3.412 MB / 1.207 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/1.156, allocations: 1.106 MB / 1.208 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/1.157, allocations: 420.4 kB / 1.209 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/1.157, allocations: 138.9 kB / 1.209 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.158, allocations: 0.6207 MB / 1.21 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=95): time 2.104e-06/1.158, allocations: 0 / 1.21 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95): time 0.003979/1.162, allocations: 1.624 MB / 1.211 GB, free: 15.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.163, allocations: 199 kB / 1.211 GB, free: 15.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009904/1.164, allocations: 0.8073 MB / 1.212 GB, free: 15.28 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/1.164, allocations: 49.7 kB / 1.212 GB, free: 15.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/1.164, allocations: 456.5 kB / 1.213 GB, free: 14.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.164, allocations: 311.6 kB / 1.213 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.165, allocations: 190.4 kB / 1.213 GB, free: 14.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.165, allocations: 341.9 kB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/1.165, allocations: 357.8 kB / 1.214 GB, free: 13.58 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/1.166, allocations: 481.6 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.168, allocations: 0.7843 MB / 1.215 GB, free: 12.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.168, allocations: 0 / 1.215 GB, free: 12.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002462/1.17, allocations: 1.091 MB / 1.216 GB, free: 11.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.17, allocations: 8 kB / 1.216 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.17, allocations: 0 / 1.216 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007392/1.171, allocations: 113.7 kB / 1.216 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/1.172, allocations: 207.7 kB / 1.216 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/1.175, allocations: 3.057 MB / 1.219 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.176, allocations: 111.2 kB / 1.219 GB, free: 7.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/1.176, allocations: 47.97 kB / 1.22 GB, free: 7.359 MB / 0.92 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.0006135/1.177, allocations: 315.5 kB / 1.22 GB, free: 7.043 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/1.177, allocations: 98.78 kB / 1.22 GB, free: 6.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/1.18, allocations: 1.318 MB / 1.221 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.18, allocations: 12 kB / 1.221 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.18, allocations: 0 / 1.221 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/1.18, allocations: 7.969 kB / 1.221 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/1.184, allocations: 2.408 MB / 1.224 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.184, allocations: 0 / 1.224 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/1.185, allocations: 195.7 kB / 1.224 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/1.186, allocations: 101.6 kB / 1.224 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/1.186, allocations: 39.91 kB / 1.224 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/1.189, allocations: 3.093 MB / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.189, allocations: 0 / 1.227 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/1.191, allocations: 1.229 MB / 1.228 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.192, allocations: 315.5 kB / 1.228 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.192, allocations: 27.98 kB / 1.228 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/1.193, allocations: 69.05 kB / 1.229 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.193, allocations: 89 kB / 1.229 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.193, allocations: 51.91 kB / 1.229 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007265/1.194, allocations: 0.5692 MB / 1.229 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.194, allocations: 4 kB / 1.229 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001211/1.195, allocations: 455 kB / 1.23 GB, free: 12.58 MB / 0.9356 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.001634/1.197, allocations: 0.716 MB / 1.23 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002282/1.199, allocations: 1.147 MB / 1.231 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/1.199, allocations: 0 / 1.231 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/1.2, allocations: 0.7294 MB / 1.232 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.202, allocations: 370.3 kB / 1.233 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/1.205, allocations: 2 MB / 1.234 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/1.206, allocations: 1.103 MB / 1.236 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001032/1.207, allocations: 319.6 kB / 1.236 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/1.207, allocations: 119.3 kB / 1.236 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of SimCode: time 7.62e-07/1.208, allocations: 0 / 1.236 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.03331/1.241, allocations: 20 MB / 1.256 GB, free: 2.395 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches