Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107.4 kB / 16.36 MB, free: 6.285 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.001634/0.001634, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 65.27 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3295, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.8064/1.136, allocations: 168.4 MB / 1.191 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02303/1.159, allocations: 17.33 MB / 1.208 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/1.161, allocations: 30.28 kB / 1.208 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/1.163, allocations: 0.5775 MB / 1.209 GB, free: 14.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006077/1.169, allocations: 1.778 MB / 1.21 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/1.173, allocations: 1.442 MB / 1.212 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003975/1.177, allocations: 2.861 MB / 1.215 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/1.18, allocations: 1.95 MB / 1.217 GB, free: 8.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/1.184, allocations: 1.415 MB / 1.218 GB, free: 7.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/1.186, allocations: 1.117 MB / 1.219 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/1.187, allocations: 221.1 kB / 1.219 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/1.19, allocations: 1.549 MB / 1.221 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007194/1.191, allocations: 0.7955 MB / 1.221 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/1.193, allocations: 1.219 MB / 1.223 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005765/1.198, allocations: 3.586 MB / 1.226 GB, free: 1.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.198, allocations: 4 kB / 1.226 GB, free: 1.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/1.198, allocations: 3.938 kB / 1.226 GB, free: 1.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.311e-05/1.199, allocations: 0 / 1.226 GB, free: 1.172 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005105/1.204, allocations: 2.745 MB / 1.229 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.204, allocations: 8.031 kB / 1.229 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/1.207, allocations: 0.5551 MB / 1.229 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/1.21, allocations: 1.638 MB / 1.231 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.21, allocations: 127.4 kB / 1.231 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/1.211, allocations: 168 kB / 1.231 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/1.214, allocations: 1.952 MB / 1.233 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.214, allocations: 3.984 kB / 1.233 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.214, allocations: 76 kB / 1.233 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/1.214, allocations: 44 kB / 1.233 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/1.218, allocations: 2.085 MB / 1.235 GB, free: 7.598 MB / 0.9356 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.009433/1.227, allocations: 6.033 MB / 1.241 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/1.23, allocations: 2.089 MB / 1.243 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.232, allocations: 0.769 MB / 1.244 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/1.232, allocations: 417.6 kB / 1.244 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/1.234, allocations: 1.016 MB / 1.245 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.116e-06/1.234, allocations: 0 / 1.245 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006583/1.241, allocations: 2.95 MB / 1.248 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.241, allocations: 201.2 kB / 1.249 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/1.243, allocations: 1.784 MB / 1.25 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/1.244, allocations: 61.69 kB / 1.25 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/1.244, allocations: 0.8272 MB / 1.251 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/1.245, allocations: 489 kB / 1.252 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/1.245, allocations: 254.8 kB / 1.252 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.246, allocations: 353.9 kB / 1.252 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/1.247, allocations: 0.5921 MB / 1.253 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.248, allocations: 0.8069 MB / 1.254 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/1.25, allocations: 1.325 MB / 1.255 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.25, allocations: 3.938 kB / 1.255 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004083/1.255, allocations: 1.807 MB / 1.257 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.255, allocations: 4 kB / 1.257 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.255, allocations: 7.938 kB / 1.257 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.256, allocations: 216.2 kB / 1.257 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.257, allocations: 335.5 kB / 1.257 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/1.264, allocations: 7.301 MB / 1.264 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.265, allocations: 158.8 kB / 1.264 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.266, allocations: 59.89 kB / 1.264 GB, free: 8.254 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001142/1.267, allocations: 499.2 kB / 1.265 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/1.267, allocations: 177.8 kB / 1.265 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/1.272, allocations: 2.117 MB / 1.267 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.272, allocations: 12 kB / 1.267 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.272, allocations: 4 kB / 1.267 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.272, allocations: 11.91 kB / 1.267 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007188/1.279, allocations: 3.98 MB / 1.271 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.279, allocations: 4 kB / 1.271 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.281, allocations: 311.6 kB / 1.271 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008955/1.281, allocations: 220 kB / 1.272 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.282, allocations: 43.95 kB / 1.272 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/1.288, allocations: 7.344 MB / 1.279 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.288, allocations: 0 / 1.279 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/1.292, allocations: 1.988 MB / 1.281 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.293, allocations: 466.4 kB / 1.281 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/1.293, allocations: 39.83 kB / 1.281 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.294, allocations: 109.2 kB / 1.281 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.295, allocations: 109.2 kB / 1.281 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.295, allocations: 71.94 kB / 1.282 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001635/1.297, allocations: 1.285 MB / 1.283 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.297, allocations: 0 / 1.283 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001787/1.298, allocations: 0.6781 MB / 1.283 GB, free: 3.926 MB / 0.9825 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001751/1.3, allocations: 0.7561 MB / 1.284 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003525/1.304, allocations: 2.074 MB / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.304, allocations: 4.562 kB / 1.286 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/1.306, allocations: 1.414 MB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.308, allocations: 0.5541 MB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/1.314, allocations: 3.7 MB / 1.292 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.316, allocations: 1.529 MB / 1.293 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001821/1.317, allocations: 0.5008 MB / 1.294 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/1.318, allocations: 167.4 kB / 1.294 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of SimCode: time 2.906e-06/1.318, allocations: 4 kB / 1.294 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of Templates: time 0.05555/1.374, allocations: 31.82 MB / 1.325 GB, free: 9.742 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches