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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 110 kB / 18.93 MB, free: 2.945 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.002743/0.002743, allocations: 186.8 kB / 22.23 MB, free: 5.164 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.437/1.437, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9402, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2179/1.158, allocations: 169.2 MB / 1.384 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03972/1.198, allocations: 17.65 MB / 1.401 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/1.201, allocations: 43.62 kB / 1.401 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003061/1.204, allocations: 0.5856 MB / 1.401 GB, free: 11.12 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008816/1.213, allocations: 1.83 MB / 1.403 GB, free: 9.285 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006054/1.219, allocations: 1.484 MB / 1.405 GB, free: 7.812 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006187/1.225, allocations: 2.882 MB / 1.408 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/1.228, allocations: 1.59 MB / 1.409 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/1.233, allocations: 1.508 MB / 1.411 GB, free: 1.809 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/1.235, allocations: 1.14 MB / 1.412 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007254/1.236, allocations: 224 kB / 1.412 GB, free: 456 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.24, allocations: 1.63 MB / 1.413 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/1.241, allocations: 0.8022 MB / 1.414 GB, free: 14.01 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002286/1.243, allocations: 1.22 MB / 1.415 GB, free: 12.78 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007882/1.251, allocations: 3.603 MB / 1.419 GB, free: 9.164 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.251, allocations: 0 / 1.419 GB, free: 9.164 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.605e-06/1.251, allocations: 0 / 1.419 GB, free: 9.164 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001642/1.251, allocations: 0 / 1.419 GB, free: 9.164 MB / 1.123 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.008226/1.259, allocations: 2.834 MB / 1.422 GB, free: 6.258 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.259, allocations: 16.03 kB / 1.422 GB, free: 6.242 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/1.264, allocations: 0.5643 MB / 1.422 GB, free: 5.676 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/1.268, allocations: 1.632 MB / 1.424 GB, free: 3.992 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/1.268, allocations: 131.4 kB / 1.424 GB, free: 3.863 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/1.268, allocations: 172 kB / 1.424 GB, free: 3.695 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/1.273, allocations: 1.944 MB / 1.426 GB, free: 1.699 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/1.273, allocations: 4 kB / 1.426 GB, free: 1.695 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/1.273, allocations: 76 kB / 1.426 GB, free: 1.621 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/1.273, allocations: 40 kB / 1.426 GB, free: 1.582 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/1.278, allocations: 2.085 MB / 1.428 GB, free: 15.49 MB / 1.139 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.01216/1.29, allocations: 6.051 MB / 1.434 GB, free: 9.098 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/1.295, allocations: 2.007 MB / 1.436 GB, free: 7.012 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/1.297, allocations: 0.7022 MB / 1.437 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009735/1.298, allocations: 433.6 kB / 1.437 GB, free: 5.812 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002877/1.301, allocations: 1.009 MB / 1.438 GB, free: 4.781 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 5.501e-06/1.301, allocations: 0 / 1.438 GB, free: 4.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.01043/1.312, allocations: 2.958 MB / 1.441 GB, free: 1.711 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.312, allocations: 201.2 kB / 1.441 GB, free: 1.473 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/1.316, allocations: 1.784 MB / 1.443 GB, free: 15.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003427/1.316, allocations: 61.7 kB / 1.443 GB, free: 15.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.317, allocations: 0.8403 MB / 1.444 GB, free: 14.76 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/1.318, allocations: 0.4957 MB / 1.444 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005808/1.319, allocations: 254.8 kB / 1.445 GB, free: 14 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.319, allocations: 357.9 kB / 1.445 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.321, allocations: 0.5921 MB / 1.446 GB, free: 13.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/1.323, allocations: 0.7974 MB / 1.446 GB, free: 12.2 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/1.326, allocations: 1.337 MB / 1.448 GB, free: 10.86 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.326, allocations: 0 / 1.448 GB, free: 10.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006057/1.332, allocations: 1.804 MB / 1.449 GB, free: 9.027 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.332, allocations: 11.88 kB / 1.449 GB, free: 9.016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.332, allocations: 7.938 kB / 1.449 GB, free: 9.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/1.334, allocations: 216.2 kB / 1.45 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.336, allocations: 339.5 kB / 1.45 GB, free: 8.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.346, allocations: 7.304 MB / 1.457 GB, free: 448 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.349, allocations: 169.3 kB / 1.457 GB, free: 280 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/1.349, allocations: 55.95 kB / 1.457 GB, free: 224 kB / 1.154 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.001587/1.35, allocations: 495.3 kB / 1.458 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/1.351, allocations: 186.8 kB / 1.458 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/1.358, allocations: 2.125 MB / 1.46 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/1.358, allocations: 16 kB / 1.46 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.358, allocations: 0 / 1.46 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.359, allocations: 7.969 kB / 1.46 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.37, allocations: 3.977 MB / 1.464 GB, free: 9.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.37, allocations: 0 / 1.464 GB, free: 9.309 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.373, allocations: 315.5 kB / 1.464 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/1.374, allocations: 208.1 kB / 1.464 GB, free: 8.781 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/1.374, allocations: 39.97 kB / 1.464 GB, free: 8.742 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.385, allocations: 7.35 MB / 1.472 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.385, allocations: 7.969 kB / 1.472 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007093/1.392, allocations: 2.005 MB / 1.474 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.393, allocations: 483.3 kB / 1.474 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/1.394, allocations: 32.19 kB / 1.474 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.396, allocations: 102 kB / 1.474 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/1.396, allocations: 117.1 kB / 1.474 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.396, allocations: 71.94 kB / 1.474 GB, free: 13.83 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002967/1.399, allocations: 1.273 MB / 1.476 GB, free: 12.56 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.399, allocations: 0 / 1.476 GB, free: 12.56 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003167/1.402, allocations: 0.6976 MB / 1.476 GB, free: 11.86 MB / 1.186 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.003408/1.406, allocations: 0.7529 MB / 1.477 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00584/1.412, allocations: 2.024 MB / 1.479 GB, free: 9.184 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.412, allocations: 8.594 kB / 1.479 GB, free: 9.176 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.415, allocations: 1.364 MB / 1.48 GB, free: 7.75 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.419, allocations: 0.5462 MB / 1.481 GB, free: 7.223 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.43, allocations: 3.786 MB / 1.485 GB, free: 3.41 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/1.432, allocations: 1.529 MB / 1.486 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003027/1.435, allocations: 0.4892 MB / 1.487 GB, free: 1.348 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/1.435, allocations: 171.4 kB / 1.487 GB, free: 1.18 MB / 1.186 GB Notification: Performance of SimCode: time 1.332e-06/1.435, allocations: 0 / 1.487 GB, free: 1.18 MB / 1.186 GB Notification: Performance of Templates: time 0.07506/1.51, allocations: 33.17 MB / 1.519 GB, free: 296 kB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.62885478977114]