Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001778/0.001778, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.23 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1821/0.486, allocations: 167.2 MB / 1.251 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7289/1.215, allocations: 17.18 MB / 1.268 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/1.217, allocations: 31.72 kB / 1.268 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.218, allocations: 0.5497 MB / 1.268 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/1.223, allocations: 1.708 MB / 1.27 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/1.227, allocations: 1.423 MB / 1.271 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004264/1.232, allocations: 2.668 MB / 1.274 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/1.236, allocations: 1.994 MB / 1.276 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/1.241, allocations: 1.443 MB / 1.277 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/1.243, allocations: 1.074 MB / 1.278 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006453/1.244, allocations: 222.6 kB / 1.278 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/1.248, allocations: 1.559 MB / 1.28 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009959/1.249, allocations: 0.7955 MB / 1.281 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002117/1.251, allocations: 1.234 MB / 1.282 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/1.258, allocations: 3.658 MB / 1.285 GB, free: 2.281 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.258, allocations: 0 / 1.285 GB, free: 2.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/1.258, allocations: 1.156 kB / 1.285 GB, free: 2.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.763e-05/1.258, allocations: 1.094 kB / 1.285 GB, free: 2.281 MB / 1.014 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.005571/1.263, allocations: 2.876 MB / 1.288 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.263, allocations: 9.875 kB / 1.288 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003009/1.264, allocations: 246.8 kB / 1.288 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/1.268, allocations: 0.5635 MB / 1.289 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/1.272, allocations: 3.428 MB / 1.292 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.272, allocations: 132.5 kB / 1.293 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/1.272, allocations: 167.5 kB / 1.293 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/1.276, allocations: 1.943 MB / 1.295 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/1.276, allocations: 2.188 kB / 1.295 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/1.276, allocations: 78.66 kB / 1.295 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/1.276, allocations: 41.41 kB / 1.295 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/1.279, allocations: 2.089 MB / 1.297 GB, free: 28 kB / 1.014 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.01022/1.29, allocations: 6.172 MB / 1.303 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/1.293, allocations: 2.092 MB / 1.305 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/1.294, allocations: 0.7645 MB / 1.306 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/1.295, allocations: 432.2 kB / 1.306 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/1.297, allocations: 1.006 MB / 1.307 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.427e-06/1.297, allocations: 0.9062 kB / 1.307 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006858/1.303, allocations: 2.965 MB / 1.31 GB, free: 12.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.304, allocations: 200.2 kB / 1.31 GB, free: 12.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005443/1.309, allocations: 4.053 MB / 1.314 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003179/1.309, allocations: 58.11 kB / 1.314 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008562/1.31, allocations: 0.8854 MB / 1.315 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006031/1.311, allocations: 483.6 kB / 1.315 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/1.311, allocations: 236.7 kB / 1.316 GB, free: 11.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.312, allocations: 356.8 kB / 1.316 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.313, allocations: 0.574 MB / 1.316 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.314, allocations: 0.7961 MB / 1.317 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/1.316, allocations: 1.309 MB / 1.319 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.316, allocations: 0 / 1.319 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004018/1.32, allocations: 1.765 MB / 1.32 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.32, allocations: 12.97 kB / 1.32 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.321, allocations: 2.906 kB / 1.32 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.322, allocations: 214.7 kB / 1.32 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.323, allocations: 321.7 kB / 1.321 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.329, allocations: 7.315 MB / 1.328 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.332, allocations: 170 kB / 1.328 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.332, allocations: 48.36 kB / 1.328 GB, free: 3.926 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: 15 (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 (144): * Single equations (assignments): 139 * 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.001532/1.333, allocations: 496.2 kB / 1.329 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/1.334, allocations: 191.5 kB / 1.329 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/1.339, allocations: 2.135 MB / 1.331 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.339, allocations: 16.12 kB / 1.331 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.34, allocations: 3.594 kB / 1.331 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.34, allocations: 8.344 kB / 1.331 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008774/1.348, allocations: 4.109 MB / 1.335 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.348, allocations: 0 / 1.335 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.35, allocations: 320.3 kB / 1.335 GB, free: 1.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/1.351, allocations: 199.5 kB / 1.335 GB, free: 1.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.351, allocations: 42.81 kB / 1.335 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/1.357, allocations: 7.348 MB / 1.343 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.357, allocations: 4.938 kB / 1.343 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004613/1.361, allocations: 2.006 MB / 1.345 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.363, allocations: 0.5049 MB / 1.345 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006122/1.363, allocations: 28.25 kB / 1.345 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.365, allocations: 107.4 kB / 1.345 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/1.365, allocations: 112 kB / 1.345 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.366, allocations: 70.25 kB / 1.345 GB, free: 8.754 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003754/1.369, allocations: 3.122 MB / 1.348 GB, free: 7.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.21e-07/1.369, allocations: 3.938 kB / 1.348 GB, free: 7.734 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002954/1.372, allocations: 0.6673 MB / 1.349 GB, free: 7.566 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 (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.007198/1.38, allocations: 3.2 MB / 1.352 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.383, allocations: 2.049 MB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.383, allocations: 2.75 kB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.385, allocations: 1.422 MB / 1.356 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.389, allocations: 0.5244 MB / 1.356 GB, free: 4.047 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03856/1.427, allocations: 20.97 MB / 1.377 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/1.429, allocations: 1.526 MB / 1.378 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002597/1.432, allocations: 0.5404 MB / 1.379 GB, free: 5.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.434, allocations: 0.8936 MB / 1.379 GB, free: 4.34 MB / 1.061 GB Notification: Performance of SimCode: time 3.006e-06/1.434, allocations: 0 / 1.379 GB, free: 4.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.541, allocations: 48.11 MB / 1.426 GB, free: 4.676 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/17.54, allocations: 0 / 1.426 GB, free: 4.676 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches