Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.001288/0.001288, 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.001435/0.001435, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.462/1.462, 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.604/2.604, allocations: 443.5 MB / 0.7321 GB, free: 12.23 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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.88 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9243, allocations: 160.8 MB / 1.218 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2186/1.143, allocations: 169.2 MB / 1.384 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02797/1.171, allocations: 17.67 MB / 1.401 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/1.173, allocations: 39.62 kB / 1.401 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/1.176, allocations: 0.5973 MB / 1.402 GB, free: 11.02 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006553/1.182, allocations: 1.831 MB / 1.403 GB, free: 9.184 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/1.187, allocations: 1.493 MB / 1.405 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005351/1.192, allocations: 2.894 MB / 1.408 GB, free: 4.801 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/1.196, allocations: 1.598 MB / 1.409 GB, free: 3.145 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005482/1.201, allocations: 1.513 MB / 1.411 GB, free: 1.68 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/1.203, allocations: 1.152 MB / 1.412 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000702/1.204, allocations: 220 kB / 1.412 GB, free: 316 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/1.208, allocations: 1.642 MB / 1.414 GB, free: 14.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/1.209, allocations: 0.7945 MB / 1.414 GB, free: 13.87 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/1.211, allocations: 1.244 MB / 1.416 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007457/1.219, allocations: 3.631 MB / 1.419 GB, free: 8.973 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.219, allocations: 0 / 1.419 GB, free: 8.973 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.395e-06/1.219, allocations: 0 / 1.419 GB, free: 8.973 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.899e-05/1.219, allocations: 0 / 1.419 GB, free: 8.973 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006594/1.225, allocations: 2.86 MB / 1.422 GB, free: 6.047 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.225, allocations: 12.03 kB / 1.422 GB, free: 6.035 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/1.229, allocations: 0.5721 MB / 1.423 GB, free: 5.461 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/1.233, allocations: 1.652 MB / 1.424 GB, free: 3.758 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/1.233, allocations: 131.4 kB / 1.424 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/1.234, allocations: 164 kB / 1.424 GB, free: 3.469 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/1.238, allocations: 1.968 MB / 1.426 GB, free: 1.449 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/1.238, allocations: 7.922 kB / 1.426 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/1.238, allocations: 76 kB / 1.426 GB, free: 1.367 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/1.238, allocations: 40 kB / 1.426 GB, free: 1.328 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/1.243, allocations: 2.113 MB / 1.429 GB, free: 15.21 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.01193/1.254, allocations: 6.203 MB / 1.435 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/1.258, allocations: 2.047 MB / 1.437 GB, free: 6.535 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/1.26, allocations: 0.7139 MB / 1.437 GB, free: 5.824 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/1.261, allocations: 437.6 kB / 1.438 GB, free: 5.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00204/1.263, allocations: 1.021 MB / 1.439 GB, free: 4.281 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.327e-06/1.263, allocations: 0 / 1.439 GB, free: 4.281 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.007451/1.27, allocations: 2.99 MB / 1.442 GB, free: 1.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.27, allocations: 201.2 kB / 1.442 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/1.273, allocations: 1.83 MB / 1.444 GB, free: 15.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.274, allocations: 61.7 kB / 1.444 GB, free: 15.03 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.275, allocations: 0.86 MB / 1.444 GB, free: 14.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000578/1.275, allocations: 0.4956 MB / 1.445 GB, free: 13.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/1.276, allocations: 262.8 kB / 1.445 GB, free: 13.4 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.276, allocations: 353.9 kB / 1.446 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.277, allocations: 0.5999 MB / 1.446 GB, free: 12.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/1.279, allocations: 0.8169 MB / 1.447 GB, free: 11.58 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.281, allocations: 1.357 MB / 1.448 GB, free: 10.21 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.281, allocations: 3.938 kB / 1.448 GB, free: 10.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00447/1.286, allocations: 1.847 MB / 1.45 GB, free: 8.332 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.286, allocations: 4 kB / 1.45 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.286, allocations: 0 / 1.45 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.287, allocations: 212.1 kB / 1.45 GB, free: 8.105 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.289, allocations: 339.5 kB / 1.451 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/1.296, allocations: 7.322 MB / 1.458 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.298, allocations: 178.6 kB / 1.458 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.298, allocations: 47.97 kB / 1.458 GB, free: 15.53 MB / 1.17 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 (153): * Single equations (assignments): 148 * 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.001159/1.299, allocations: 491.3 kB / 1.458 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.3, allocations: 202.8 kB / 1.459 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/1.305, allocations: 2.145 MB / 1.461 GB, free: 12.67 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.305, allocations: 16 kB / 1.461 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.305, allocations: 0 / 1.461 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.305, allocations: 7.969 kB / 1.461 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/1.313, allocations: 4.018 MB / 1.465 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.313, allocations: 0 / 1.465 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.314, allocations: 319.6 kB / 1.465 GB, free: 8.234 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009287/1.315, allocations: 200.1 kB / 1.465 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.315, allocations: 43.95 kB / 1.465 GB, free: 7.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007072/1.322, allocations: 7.361 MB / 1.472 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.322, allocations: 0 / 1.472 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/1.327, allocations: 2.017 MB / 1.474 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.328, allocations: 487.2 kB / 1.475 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.328, allocations: 31.94 kB / 1.475 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.33, allocations: 110 kB / 1.475 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.33, allocations: 121.1 kB / 1.475 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.33, allocations: 71.94 kB / 1.475 GB, free: 13.04 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00198/1.332, allocations: 1.306 MB / 1.476 GB, free: 11.74 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.332, allocations: 4 kB / 1.476 GB, free: 11.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002079/1.334, allocations: 0.6899 MB / 1.477 GB, free: 11.04 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.002599/1.337, allocations: 0.7674 MB / 1.478 GB, free: 10.44 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004154/1.341, allocations: 2.055 MB / 1.48 GB, free: 8.316 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.341, allocations: 0.6562 kB / 1.48 GB, free: 8.316 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.343, allocations: 1.375 MB / 1.481 GB, free: 6.879 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.346, allocations: 0.5442 MB / 1.482 GB, free: 6.352 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/1.354, allocations: 3.926 MB / 1.486 GB, free: 2.395 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.355, allocations: 1.541 MB / 1.487 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001963/1.357, allocations: 0.4931 MB / 1.488 GB, free: 328 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/1.358, allocations: 175.4 kB / 1.488 GB, free: 152 kB / 1.186 GB Notification: Performance of SimCode: time 1.362e-06/1.358, allocations: 0 / 1.488 GB, free: 152 kB / 1.186 GB Notification: Performance of Templates: time 0.068/1.426, allocations: 33.48 MB / 1.52 GB, free: 14.97 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.443682178854942]