Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.008488/0.008488, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001896/0.001896, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.464/2.464, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.12 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9082, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1923/1.101, allocations: 168.5 MB / 1.331 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.127, allocations: 17.37 MB / 1.348 GB, free: 9.219 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.129, allocations: 31.81 kB / 1.348 GB, free: 9.188 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/1.131, allocations: 0.5856 MB / 1.348 GB, free: 8.598 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/1.138, allocations: 1.812 MB / 1.35 GB, free: 6.781 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.142, allocations: 1.455 MB / 1.351 GB, free: 5.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004352/1.146, allocations: 2.887 MB / 1.354 GB, free: 2.445 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/1.15, allocations: 1.936 MB / 1.356 GB, free: 468 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/1.155, allocations: 1.481 MB / 1.358 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/1.157, allocations: 1.121 MB / 1.359 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008451/1.158, allocations: 220 kB / 1.359 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/1.162, allocations: 1.56 MB / 1.36 GB, free: 12.12 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00126/1.163, allocations: 0.7984 MB / 1.361 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002401/1.165, allocations: 1.275 MB / 1.362 GB, free: 10.04 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006696/1.172, allocations: 3.734 MB / 1.366 GB, free: 6.289 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.172, allocations: 0 / 1.366 GB, free: 6.289 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.924e-06/1.172, allocations: 0 / 1.366 GB, free: 6.289 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001307/1.172, allocations: 0 / 1.366 GB, free: 6.289 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.007098/1.179, allocations: 2.926 MB / 1.369 GB, free: 3.301 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.18, allocations: 12.91 kB / 1.369 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004572/1.18, allocations: 248.9 kB / 1.369 GB, free: 3.035 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/1.184, allocations: 0.5706 MB / 1.37 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/1.189, allocations: 3.429 MB / 1.373 GB, free: 14.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.189, allocations: 127.4 kB / 1.373 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/1.19, allocations: 175.9 kB / 1.373 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/1.194, allocations: 1.952 MB / 1.375 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/1.194, allocations: 0 / 1.375 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/1.194, allocations: 75.98 kB / 1.375 GB, free: 12.6 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.194, allocations: 48 kB / 1.375 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/1.198, allocations: 2.113 MB / 1.377 GB, free: 10.44 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.01072/1.209, allocations: 6.703 MB / 1.384 GB, free: 3.395 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/1.212, allocations: 2.119 MB / 1.386 GB, free: 1.188 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.214, allocations: 0.7842 MB / 1.387 GB, free: 416 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/1.214, allocations: 441.5 kB / 1.387 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/1.216, allocations: 1.015 MB / 1.388 GB, free: 14.87 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.976e-06/1.216, allocations: 0 / 1.388 GB, free: 14.87 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.007209/1.223, allocations: 3 MB / 1.391 GB, free: 11.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.223, allocations: 201.2 kB / 1.391 GB, free: 11.51 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/1.228, allocations: 4.085 MB / 1.395 GB, free: 7.422 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/1.228, allocations: 57.7 kB / 1.395 GB, free: 7.359 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008157/1.229, allocations: 0.8984 MB / 1.396 GB, free: 6.449 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/1.229, allocations: 481 kB / 1.397 GB, free: 5.973 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/1.23, allocations: 242.7 kB / 1.397 GB, free: 5.73 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.23, allocations: 357.9 kB / 1.397 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/1.231, allocations: 0.5804 MB / 1.398 GB, free: 4.793 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/1.233, allocations: 0.8125 MB / 1.399 GB, free: 3.918 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.235, allocations: 1.333 MB / 1.4 GB, free: 2.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.235, allocations: 4 kB / 1.4 GB, free: 2.566 MB / 1.123 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004088/1.239, allocations: 1.799 MB / 1.402 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.239, allocations: 11.98 kB / 1.402 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.239, allocations: 0 / 1.402 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.24, allocations: 208.2 kB / 1.402 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.242, allocations: 331.5 kB / 1.402 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/1.248, allocations: 7.33 MB / 1.409 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.25, allocations: 170.7 kB / 1.41 GB, free: 7.992 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.25, allocations: 47.97 kB / 1.41 GB, free: 7.945 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 (145): * Single equations (assignments): 140 * 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.001029/1.251, allocations: 485.5 kB / 1.41 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/1.251, allocations: 189.7 kB / 1.41 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/1.256, allocations: 2.157 MB / 1.412 GB, free: 5.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.256, allocations: 16 kB / 1.412 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.256, allocations: 4 kB / 1.412 GB, free: 5.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.256, allocations: 7.969 kB / 1.412 GB, free: 5.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00842/1.264, allocations: 4.128 MB / 1.416 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.264, allocations: 0 / 1.416 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.266, allocations: 315.6 kB / 1.417 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009108/1.267, allocations: 208 kB / 1.417 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.267, allocations: 39.97 kB / 1.417 GB, free: 296 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/1.273, allocations: 7.355 MB / 1.424 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.273, allocations: 0 / 1.424 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.278, allocations: 2.032 MB / 1.426 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/1.278, allocations: 0.5099 MB / 1.427 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.279, allocations: 28 kB / 1.427 GB, free: 5.602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.28, allocations: 118.9 kB / 1.427 GB, free: 5.488 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.28, allocations: 113.2 kB / 1.427 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.28, allocations: 67.95 kB / 1.427 GB, free: 5.312 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003185/1.284, allocations: 3.132 MB / 1.43 GB, free: 2.188 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.41e-07/1.284, allocations: 0 / 1.43 GB, free: 2.188 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001859/1.285, allocations: 0.6976 MB / 1.431 GB, free: 1.488 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.006395/1.292, allocations: 3.231 MB / 1.434 GB, free: 14.38 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003528/1.295, allocations: 2.078 MB / 1.436 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.295, allocations: 4.562 kB / 1.436 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.298, allocations: 1.422 MB / 1.437 GB, free: 10.74 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.3, allocations: 0.5492 MB / 1.438 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/1.331, allocations: 21 MB / 1.458 GB, free: 4.957 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.332, allocations: 1.537 MB / 1.46 GB, free: 3.387 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001704/1.334, allocations: 0.5173 MB / 1.46 GB, free: 2.863 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.335, allocations: 0.9053 MB / 1.461 GB, free: 1.957 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/1.335, allocations: 0 / 1.461 GB, free: 1.957 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.453, allocations: 49.35 MB / 1.509 GB, free: 1.008 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.43, allocations: 10.58 kB / 1.509 GB, free: 1 MB / 1.232 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches