Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9143, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2226/1.137, allocations: 168.9 MB / 1.434 GB, free: 11.6 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03151/1.168, allocations: 17.43 MB / 1.451 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/1.171, allocations: 31.81 kB / 1.451 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.173, allocations: 0.5934 MB / 1.451 GB, free: 9.488 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/1.18, allocations: 1.815 MB / 1.453 GB, free: 7.672 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/1.184, allocations: 1.445 MB / 1.455 GB, free: 6.238 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005246/1.189, allocations: 2.863 MB / 1.457 GB, free: 3.363 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/1.192, allocations: 1.613 MB / 1.459 GB, free: 1.691 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/1.197, allocations: 1.469 MB / 1.46 GB, free: 272 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/1.2, allocations: 1.15 MB / 1.461 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007771/1.201, allocations: 220 kB / 1.462 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/1.205, allocations: 1.599 MB / 1.463 GB, free: 13.3 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/1.207, allocations: 0.81 MB / 1.464 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/1.209, allocations: 1.263 MB / 1.465 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007967/1.217, allocations: 3.747 MB / 1.469 GB, free: 7.453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.217, allocations: 0 / 1.469 GB, free: 7.453 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.505e-06/1.217, allocations: 0 / 1.469 GB, free: 7.453 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001023/1.217, allocations: 0 / 1.469 GB, free: 7.453 MB / 1.17 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.00685/1.224, allocations: 2.994 MB / 1.472 GB, free: 4.387 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.224, allocations: 8.031 kB / 1.472 GB, free: 4.379 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003487/1.224, allocations: 248.8 kB / 1.472 GB, free: 4.125 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/1.228, allocations: 0.5877 MB / 1.473 GB, free: 3.535 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/1.234, allocations: 3.434 MB / 1.476 GB, free: 52 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/1.235, allocations: 131.4 kB / 1.476 GB, free: 15.92 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/1.235, allocations: 172 kB / 1.476 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/1.239, allocations: 1.949 MB / 1.478 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.239, allocations: 0 / 1.478 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/1.239, allocations: 76 kB / 1.478 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/1.239, allocations: 40 kB / 1.478 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004483/1.244, allocations: 2.089 MB / 1.48 GB, free: 11.54 MB / 1.186 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.01354/1.257, allocations: 6.541 MB / 1.487 GB, free: 4.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/1.261, allocations: 2.007 MB / 1.489 GB, free: 2.582 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/1.262, allocations: 0.7061 MB / 1.489 GB, free: 1.867 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/1.263, allocations: 441.5 kB / 1.49 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/1.265, allocations: 1.002 MB / 1.491 GB, free: 348 kB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 7.403e-06/1.265, allocations: 3.984 kB / 1.491 GB, free: 344 kB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007131/1.272, allocations: 2.962 MB / 1.494 GB, free: 13.26 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/1.272, allocations: 201.2 kB / 1.494 GB, free: 13.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/1.277, allocations: 4.056 MB / 1.498 GB, free: 8.961 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/1.278, allocations: 57.7 kB / 1.498 GB, free: 8.898 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009708/1.279, allocations: 0.9035 MB / 1.499 GB, free: 7.984 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/1.279, allocations: 0.4918 MB / 1.499 GB, free: 7.488 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.28, allocations: 238.8 kB / 1.499 GB, free: 7.246 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.28, allocations: 361.8 kB / 1.5 GB, free: 6.887 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.281, allocations: 0.5726 MB / 1.5 GB, free: 6.316 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.282, allocations: 0.797 MB / 1.501 GB, free: 5.457 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/1.285, allocations: 1.31 MB / 1.502 GB, free: 4.137 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.285, allocations: 0 / 1.502 GB, free: 4.137 MB / 1.201 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004033/1.289, allocations: 1.773 MB / 1.504 GB, free: 2.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.289, allocations: 8 kB / 1.504 GB, free: 2.332 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.289, allocations: 4.094 kB / 1.504 GB, free: 2.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.29, allocations: 212.1 kB / 1.504 GB, free: 2.105 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.292, allocations: 323.6 kB / 1.505 GB, free: 1.789 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/1.298, allocations: 7.323 MB / 1.512 GB, free: 9.766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.3, allocations: 169.7 kB / 1.512 GB, free: 9.602 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.3, allocations: 43.97 kB / 1.512 GB, free: 9.559 MB / 1.217 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.001222/1.302, allocations: 496.2 kB / 1.513 GB, free: 9.066 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/1.302, allocations: 202.7 kB / 1.513 GB, free: 8.867 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/1.307, allocations: 2.134 MB / 1.515 GB, free: 6.703 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.307, allocations: 16 kB / 1.515 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.307, allocations: 7.938 kB / 1.515 GB, free: 6.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.307, allocations: 7.969 kB / 1.515 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007391/1.314, allocations: 4.107 MB / 1.519 GB, free: 2.492 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.314, allocations: 0 / 1.519 GB, free: 2.492 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.316, allocations: 315.6 kB / 1.519 GB, free: 2.184 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009637/1.317, allocations: 204.1 kB / 1.519 GB, free: 1.969 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.317, allocations: 39.97 kB / 1.519 GB, free: 1.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007594/1.324, allocations: 7.352 MB / 1.527 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.324, allocations: 0 / 1.527 GB, free: 9.863 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/1.329, allocations: 2.014 MB / 1.529 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.33, allocations: 0.5187 MB / 1.529 GB, free: 7.273 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.331, allocations: 31.98 kB / 1.529 GB, free: 7.242 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.332, allocations: 103.9 kB / 1.529 GB, free: 7.141 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.332, allocations: 109.2 kB / 1.529 GB, free: 7.031 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.333, allocations: 71.94 kB / 1.529 GB, free: 6.961 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003678/1.336, allocations: 3.116 MB / 1.532 GB, free: 3.852 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.7e-07/1.336, allocations: 0 / 1.532 GB, free: 3.852 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002181/1.338, allocations: 0.6937 MB / 1.533 GB, free: 3.156 MB / 1.232 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.007249/1.346, allocations: 3.217 MB / 1.536 GB, free: 100 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004117/1.35, allocations: 2 MB / 1.538 GB, free: 14.03 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.35, allocations: 4.562 kB / 1.538 GB, free: 14.03 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.352, allocations: 1.36 MB / 1.539 GB, free: 12.61 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.355, allocations: 0.56 MB / 1.54 GB, free: 12.07 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.389, allocations: 20.83 MB / 1.56 GB, free: 7.004 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.391, allocations: 1.522 MB / 1.562 GB, free: 5.449 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002119/1.393, allocations: 0.5212 MB / 1.562 GB, free: 4.922 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.394, allocations: 0.9053 MB / 1.563 GB, free: 4.016 MB / 1.264 GB Notification: Performance of SimCode: time 9.31e-07/1.394, allocations: 0 / 1.563 GB, free: 4.016 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.72/2.114, allocations: 49.26 MB / 1.611 GB, free: 322.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/18.86, allocations: 9.078 kB / 1.611 GB, free: 322.4 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.181781047955155]