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.001311/0.001311, allocations: 112.4 kB / 17.08 MB, free: 5.949 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.001325/0.001325, allocations: 192.7 kB / 20.03 MB, free: 3.027 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.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.853/2.853, allocations: 437.1 MB / 0.7177 GB, free: 4.477 MB / 0.5606 GB " [Timeout remaining time 177] 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: 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.001939/0.001939, allocations: 71.88 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 151.6 MB / 1.176 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8614/1.164, allocations: 168.5 MB / 1.34 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02753/1.192, allocations: 17.36 MB / 1.357 GB, free: 5.766 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/1.195, allocations: 35.09 kB / 1.357 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/1.198, allocations: 0.5688 MB / 1.358 GB, free: 5.406 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007171/1.205, allocations: 1.783 MB / 1.36 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/1.21, allocations: 1.455 MB / 1.361 GB, free: 3.648 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005886/1.215, allocations: 2.889 MB / 1.364 GB, free: 2.234 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/1.219, allocations: 1.941 MB / 1.366 GB, free: 1.285 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/1.224, allocations: 1.423 MB / 1.367 GB, free: 0.668 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/1.227, allocations: 1.123 MB / 1.368 GB, free: 120 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006778/1.228, allocations: 225.3 kB / 1.368 GB, free: 116 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/1.232, allocations: 1.55 MB / 1.37 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.233, allocations: 0.8047 MB / 1.371 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/1.236, allocations: 1.226 MB / 1.372 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007563/1.243, allocations: 3.628 MB / 1.376 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.243, allocations: 1.625 kB / 1.376 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/1.243, allocations: 0 / 1.376 GB, free: 12.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001107/1.243, allocations: 0 / 1.376 GB, free: 12.09 MB / 1.045 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.006302/1.25, allocations: 2.868 MB / 1.378 GB, free: 9.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.25, allocations: 7.906 kB / 1.378 GB, free: 9.973 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/1.254, allocations: 0.5756 MB / 1.379 GB, free: 9.695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/1.257, allocations: 1.647 MB / 1.381 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.257, allocations: 132.5 kB / 1.381 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.257, allocations: 173.2 kB / 1.381 GB, free: 8.426 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/1.261, allocations: 1.959 MB / 1.383 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/1.261, allocations: 3.938 kB / 1.383 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/1.261, allocations: 70.78 kB / 1.383 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/1.261, allocations: 41.72 kB / 1.383 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/1.265, allocations: 2.12 MB / 1.385 GB, free: 6.258 MB / 1.045 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.01056/1.275, allocations: 6.202 MB / 1.391 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/1.279, allocations: 2.135 MB / 1.393 GB, free: 140 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.28, allocations: 0.77 MB / 1.394 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/1.281, allocations: 433.3 kB / 1.394 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.283, allocations: 1.023 MB / 1.395 GB, free: 14.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.546e-06/1.283, allocations: 0 / 1.395 GB, free: 14.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.007362/1.29, allocations: 2.999 MB / 1.398 GB, free: 13.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/1.291, allocations: 200.4 kB / 1.398 GB, free: 12.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/1.293, allocations: 1.832 MB / 1.4 GB, free: 11.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003164/1.294, allocations: 59.77 kB / 1.4 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/1.295, allocations: 0.8541 MB / 1.401 GB, free: 11.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005647/1.295, allocations: 0.5036 MB / 1.401 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/1.296, allocations: 258 kB / 1.402 GB, free: 10.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.296, allocations: 358.4 kB / 1.402 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.297, allocations: 0.6013 MB / 1.403 GB, free: 9.914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.299, allocations: 0.8159 MB / 1.403 GB, free: 9.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.301, allocations: 1.358 MB / 1.405 GB, free: 8.656 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.301, allocations: 0 / 1.405 GB, free: 8.656 MB / 1.061 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004693/1.306, allocations: 1.843 MB / 1.407 GB, free: 6.789 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.306, allocations: 9.812 kB / 1.407 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.306, allocations: 0 / 1.407 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.307, allocations: 220 kB / 1.407 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.309, allocations: 343.5 kB / 1.407 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/1.316, allocations: 7.313 MB / 1.414 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.318, allocations: 179.1 kB / 1.414 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.319, allocations: 55.95 kB / 1.415 GB, free: 13.98 MB / 1.076 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.001217/1.32, allocations: 487.2 kB / 1.415 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/1.32, allocations: 198.8 kB / 1.415 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/1.325, allocations: 2.141 MB / 1.417 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.325, allocations: 20.03 kB / 1.417 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.325, allocations: 0 / 1.417 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.325, allocations: 7.969 kB / 1.417 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007876/1.333, allocations: 4.025 MB / 1.421 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.333, allocations: 0 / 1.421 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.335, allocations: 319.5 kB / 1.422 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/1.336, allocations: 204.1 kB / 1.422 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/1.336, allocations: 39.97 kB / 1.422 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006881/1.343, allocations: 7.363 MB / 1.429 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.343, allocations: 7.969 kB / 1.429 GB, free: 14.35 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/1.348, allocations: 2.021 MB / 1.431 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.349, allocations: 487.2 kB / 1.431 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005117/1.35, allocations: 31.98 kB / 1.431 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.351, allocations: 107.9 kB / 1.432 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.352, allocations: 109.2 kB / 1.432 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.352, allocations: 75.94 kB / 1.432 GB, free: 11.48 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002374/1.354, allocations: 1.306 MB / 1.433 GB, free: 10.18 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.11e-07/1.354, allocations: 0 / 1.433 GB, free: 10.18 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002839/1.357, allocations: 0.6937 MB / 1.434 GB, free: 9.484 MB / 1.092 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.002975/1.36, allocations: 0.7592 MB / 1.434 GB, free: 8.922 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004515/1.365, allocations: 2.102 MB / 1.436 GB, free: 6.754 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.365, allocations: 4.562 kB / 1.436 GB, free: 6.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.367, allocations: 1.426 MB / 1.438 GB, free: 5.262 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.371, allocations: 0.5466 MB / 1.438 GB, free: 4.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008684/1.38, allocations: 3.852 MB / 1.442 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/1.381, allocations: 1.494 MB / 1.444 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009674/1.382, allocations: 199.3 kB / 1.444 GB, free: 15.1 MB / 1.107 GB Notification: Performance of SimCode: time 6.22e-07/1.382, allocations: 3.938 kB / 1.444 GB, free: 15.1 MB / 1.107 GB Notification: Performance of Templates: time 0.08965/1.472, allocations: 67.8 MB / 1.51 GB, free: 11.37 MB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.975017504999414]