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.00192/0.00192, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.002098/0.002098, allocations: 188 kB / 17.34 MB, free: 5.738 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.682/2.682, allocations: 437 MB / 0.7112 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 59.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8543, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.203/1.057, allocations: 154.5 MB / 1.318 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01594/1.073, allocations: 10.55 MB / 1.329 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/1.074, allocations: 19.88 kB / 1.329 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008765/1.075, allocations: 285.7 kB / 1.329 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/1.078, allocations: 0.9959 MB / 1.33 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/1.081, allocations: 1.079 MB / 1.331 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002054/1.083, allocations: 1.729 MB / 1.333 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/1.084, allocations: 1.146 MB / 1.334 GB, free: 8.777 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/1.086, allocations: 0.7431 MB / 1.334 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008726/1.087, allocations: 0.6224 MB / 1.335 GB, free: 7.422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/1.087, allocations: 136 kB / 1.335 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/1.089, allocations: 1.026 MB / 1.336 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/1.09, allocations: 382.8 kB / 1.336 GB, free: 5.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006906/1.091, allocations: 0.6724 MB / 1.337 GB, free: 5.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/1.094, allocations: 2.22 MB / 1.339 GB, free: 2.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.094, allocations: 0 / 1.339 GB, free: 2.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.094, allocations: 0 / 1.339 GB, free: 2.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.15e-05/1.094, allocations: 0 / 1.339 GB, free: 2.984 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.003347/1.097, allocations: 1.751 MB / 1.341 GB, free: 1.176 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.097, allocations: 12.03 kB / 1.341 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/1.099, allocations: 278.9 kB / 1.341 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.1, allocations: 0.9103 MB / 1.342 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/1.1, allocations: 70 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.101, allocations: 96 kB / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.103, allocations: 1.11 MB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.103, allocations: 4 kB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.103, allocations: 36 kB / 1.343 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.103, allocations: 28 kB / 1.343 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/1.105, allocations: 1.319 MB / 1.345 GB, free: 13.24 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.005501/1.111, allocations: 3.42 MB / 1.348 GB, free: 9.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.113, allocations: 1.095 MB / 1.349 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/1.114, allocations: 425.2 kB / 1.35 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/1.114, allocations: 142 kB / 1.35 GB, free: 7.969 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/1.115, allocations: 0.6215 MB / 1.35 GB, free: 7.332 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 2.494e-06/1.115, allocations: 0 / 1.35 GB, free: 7.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.00448/1.12, allocations: 1.636 MB / 1.352 GB, free: 5.645 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.12, allocations: 188.9 kB / 1.352 GB, free: 5.418 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.121, allocations: 0.8057 MB / 1.353 GB, free: 4.602 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/1.121, allocations: 49.7 kB / 1.353 GB, free: 4.547 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/1.122, allocations: 465.2 kB / 1.353 GB, free: 4.086 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/1.122, allocations: 329.2 kB / 1.354 GB, free: 3.762 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/1.123, allocations: 190.6 kB / 1.354 GB, free: 3.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.123, allocations: 341.9 kB / 1.354 GB, free: 3.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000793/1.124, allocations: 349.8 kB / 1.355 GB, free: 2.887 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/1.125, allocations: 481.6 kB / 1.355 GB, free: 2.395 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.126, allocations: 0.7882 MB / 1.356 GB, free: 1.594 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.126, allocations: 3.938 kB / 1.356 GB, free: 1.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002735/1.129, allocations: 1.1 MB / 1.357 GB, free: 492 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.129, allocations: 4 kB / 1.357 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.129, allocations: 0 / 1.357 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/1.13, allocations: 113.7 kB / 1.357 GB, free: 368 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/1.131, allocations: 207.7 kB / 1.357 GB, free: 160 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/1.134, allocations: 3.069 MB / 1.36 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/1.135, allocations: 112.7 kB / 1.36 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.135, allocations: 43.97 kB / 1.36 GB, free: 12.65 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.0005952/1.136, allocations: 311.3 kB / 1.361 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/1.136, allocations: 107.3 kB / 1.361 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/1.14, allocations: 1.318 MB / 1.362 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.14, allocations: 12 kB / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.14, allocations: 0 / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.14, allocations: 3.984 kB / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/1.144, allocations: 2.42 MB / 1.364 GB, free: 8.398 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.144, allocations: 4 kB / 1.364 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/1.145, allocations: 187.8 kB / 1.365 GB, free: 8.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/1.146, allocations: 101.6 kB / 1.365 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/1.146, allocations: 31.92 kB / 1.365 GB, free: 8.074 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/1.15, allocations: 3.101 MB / 1.368 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.15, allocations: 0 / 1.368 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/1.153, allocations: 1.245 MB / 1.369 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/1.153, allocations: 320 kB / 1.369 GB, free: 3.086 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/1.154, allocations: 20 kB / 1.369 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/1.155, allocations: 79.97 kB / 1.369 GB, free: 2.988 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.155, allocations: 88.83 kB / 1.369 GB, free: 2.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.155, allocations: 47.91 kB / 1.369 GB, free: 2.855 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009342/1.156, allocations: 0.5693 MB / 1.37 GB, free: 2.289 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 1.37 GB, free: 2.289 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001374/1.157, allocations: 458.9 kB / 1.37 GB, free: 1.84 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.002402/1.16, allocations: 0.7151 MB / 1.371 GB, free: 1.285 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.162, allocations: 1.154 MB / 1.372 GB, free: 108 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.162, allocations: 0 / 1.372 GB, free: 108 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/1.164, allocations: 0.7372 MB / 1.373 GB, free: 15.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.166, allocations: 365.2 kB / 1.373 GB, free: 15.01 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/1.17, allocations: 2.05 MB / 1.375 GB, free: 12.94 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009739/1.171, allocations: 1.114 MB / 1.376 GB, free: 11.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001099/1.172, allocations: 307.7 kB / 1.377 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/1.172, allocations: 123.3 kB / 1.377 GB, free: 11.36 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/1.172, allocations: 0 / 1.377 GB, free: 11.36 MB / 1.107 GB Notification: Performance of Templates: time 0.03915/1.211, allocations: 20.26 MB / 1.397 GB, free: 7.281 MB / 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 -s cvode -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