Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_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.006526/0.006526, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001451/0.001451, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.468/2.468, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 63.89 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9806/0.982, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.194/1.176, allocations: 168.4 MB / 1.331 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02408/1.2, allocations: 17.35 MB / 1.348 GB, free: 9.301 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/1.202, allocations: 31.81 kB / 1.348 GB, free: 9.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/1.205, allocations: 0.5895 MB / 1.348 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006819/1.212, allocations: 1.808 MB / 1.35 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/1.216, allocations: 1.442 MB / 1.351 GB, free: 5.438 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004503/1.221, allocations: 2.87 MB / 1.354 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/1.224, allocations: 1.94 MB / 1.356 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/1.229, allocations: 1.474 MB / 1.357 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/1.231, allocations: 1.109 MB / 1.359 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008719/1.232, allocations: 224 kB / 1.359 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/1.236, allocations: 1.552 MB / 1.36 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/1.237, allocations: 0.8023 MB / 1.361 GB, free: 11.44 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/1.239, allocations: 1.263 MB / 1.362 GB, free: 10.17 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005963/1.245, allocations: 3.723 MB / 1.366 GB, free: 6.438 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/1.245, allocations: 0 / 1.366 GB, free: 6.438 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/1.245, allocations: 0 / 1.366 GB, free: 6.438 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001182/1.245, allocations: 0 / 1.366 GB, free: 6.438 MB / 1.092 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.007573/1.253, allocations: 2.9 MB / 1.369 GB, free: 3.469 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/1.253, allocations: 12.92 kB / 1.369 GB, free: 3.457 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006753/1.253, allocations: 252.8 kB / 1.369 GB, free: 3.199 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/1.258, allocations: 0.5628 MB / 1.37 GB, free: 2.633 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/1.263, allocations: 3.428 MB / 1.373 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.263, allocations: 135.4 kB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005058/1.264, allocations: 175.9 kB / 1.373 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/1.268, allocations: 1.94 MB / 1.375 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/1.269, allocations: 0 / 1.375 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/1.269, allocations: 72 kB / 1.375 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/1.269, allocations: 44 kB / 1.375 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/1.273, allocations: 2.085 MB / 1.377 GB, free: 10.65 MB / 1.107 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.01573/1.289, allocations: 6.543 MB / 1.384 GB, free: 3.766 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/1.293, allocations: 2.095 MB / 1.386 GB, free: 1.594 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/1.295, allocations: 0.7647 MB / 1.386 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007117/1.296, allocations: 445.5 kB / 1.387 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/1.298, allocations: 1.001 MB / 1.388 GB, free: 15.29 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 4.989e-06/1.298, allocations: 0 / 1.388 GB, free: 15.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.00776/1.306, allocations: 2.961 MB / 1.391 GB, free: 12.22 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.306, allocations: 201.2 kB / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/1.311, allocations: 4.053 MB / 1.395 GB, free: 7.922 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004081/1.312, allocations: 57.7 kB / 1.395 GB, free: 7.859 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.313, allocations: 0.8905 MB / 1.396 GB, free: 6.957 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007354/1.314, allocations: 480.8 kB / 1.396 GB, free: 6.484 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/1.314, allocations: 238.8 kB / 1.397 GB, free: 6.242 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.314, allocations: 357.9 kB / 1.397 GB, free: 5.887 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.316, allocations: 0.5687 MB / 1.397 GB, free: 5.32 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/1.317, allocations: 0.8073 MB / 1.398 GB, free: 4.449 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/1.32, allocations: 1.314 MB / 1.399 GB, free: 3.125 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.32, allocations: 0 / 1.399 GB, free: 3.125 MB / 1.123 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004449/1.324, allocations: 1.764 MB / 1.401 GB, free: 1.336 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.324, allocations: 12.08 kB / 1.401 GB, free: 1.324 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.324, allocations: 4 kB / 1.401 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.325, allocations: 212.1 kB / 1.401 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.327, allocations: 327.5 kB / 1.402 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/1.333, allocations: 7.309 MB / 1.409 GB, free: 8.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.335, allocations: 158.8 kB / 1.409 GB, free: 8.609 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.335, allocations: 51.97 kB / 1.409 GB, free: 8.559 MB / 1.139 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.001344/1.337, allocations: 497.6 kB / 1.41 GB, free: 8.062 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/1.338, allocations: 189.7 kB / 1.41 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/1.343, allocations: 2.13 MB / 1.412 GB, free: 5.719 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.343, allocations: 16 kB / 1.412 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.343, allocations: 0 / 1.412 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.343, allocations: 7.969 kB / 1.412 GB, free: 5.695 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008181/1.351, allocations: 4.111 MB / 1.416 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.351, allocations: 0 / 1.416 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.352, allocations: 307.6 kB / 1.416 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009584/1.353, allocations: 212.1 kB / 1.416 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.354, allocations: 39.97 kB / 1.416 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/1.36, allocations: 7.344 MB / 1.424 GB, free: 8.891 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.36, allocations: 4 kB / 1.424 GB, free: 8.887 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/1.365, allocations: 2.001 MB / 1.425 GB, free: 6.852 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.366, allocations: 0.5099 MB / 1.426 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/1.366, allocations: 31.94 kB / 1.426 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/1.368, allocations: 109.9 kB / 1.426 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.368, allocations: 113.2 kB / 1.426 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.369, allocations: 71.94 kB / 1.426 GB, free: 6 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003665/1.372, allocations: 3.116 MB / 1.429 GB, free: 2.891 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.6e-07/1.372, allocations: 0 / 1.429 GB, free: 2.891 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002489/1.375, allocations: 0.682 MB / 1.43 GB, free: 2.207 MB / 1.154 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.006795/1.382, allocations: 3.226 MB / 1.433 GB, free: 15.1 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00368/1.385, allocations: 2.043 MB / 1.435 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.385, allocations: 4.562 kB / 1.435 GB, free: 12.99 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.388, allocations: 1.418 MB / 1.437 GB, free: 11.51 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/1.391, allocations: 0.5548 MB / 1.437 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/1.426, allocations: 20.74 MB / 1.457 GB, free: 5.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.427, allocations: 1.526 MB / 1.459 GB, free: 4.422 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002143/1.43, allocations: 0.525 MB / 1.459 GB, free: 3.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.431, allocations: 0.9054 MB / 1.46 GB, free: 2.984 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/1.431, allocations: 0 / 1.46 GB, free: 2.984 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/1.576, allocations: 48.94 MB / 1.508 GB, free: 2.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/17.67, allocations: 8 kB / 1.508 GB, free: 2.422 MB / 1.232 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches