Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008707/0.008707, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001962/0.001962, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.11 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3132, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8578/1.171, allocations: 168.5 MB / 1.39 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02144/1.193, allocations: 17.35 MB / 1.407 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/1.194, allocations: 32 kB / 1.407 GB, free: 13.8 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/1.196, allocations: 0.5759 MB / 1.408 GB, free: 13.31 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005638/1.202, allocations: 1.785 MB / 1.409 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/1.206, allocations: 1.444 MB / 1.411 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00446/1.21, allocations: 2.885 MB / 1.414 GB, free: 9.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/1.213, allocations: 1.96 MB / 1.416 GB, free: 7.859 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/1.217, allocations: 1.425 MB / 1.417 GB, free: 7.07 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/1.219, allocations: 1.117 MB / 1.418 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004566/1.22, allocations: 222.4 kB / 1.418 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/1.223, allocations: 1.558 MB / 1.42 GB, free: 5.582 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008155/1.224, allocations: 0.7948 MB / 1.42 GB, free: 5.023 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.225, allocations: 1.237 MB / 1.422 GB, free: 4.152 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004883/1.23, allocations: 3.623 MB / 1.425 GB, free: 1.66 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.23, allocations: 4 kB / 1.425 GB, free: 1.656 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/1.23, allocations: 0 / 1.425 GB, free: 1.656 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.504e-05/1.23, allocations: 0 / 1.425 GB, free: 1.656 MB / 1.107 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.00468/1.235, allocations: 2.871 MB / 1.428 GB, free: 15.04 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.235, allocations: 12.03 kB / 1.428 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/1.239, allocations: 0.5721 MB / 1.429 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/1.241, allocations: 1.656 MB / 1.43 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.242, allocations: 127.4 kB / 1.43 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.242, allocations: 168 kB / 1.431 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/1.245, allocations: 1.96 MB / 1.432 GB, free: 10.45 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.245, allocations: 4 kB / 1.432 GB, free: 10.44 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/1.246, allocations: 76 kB / 1.433 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/1.246, allocations: 40 kB / 1.433 GB, free: 10.33 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/1.249, allocations: 2.117 MB / 1.435 GB, free: 8.207 MB / 1.123 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.009872/1.259, allocations: 6.188 MB / 1.441 GB, free: 1.676 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/1.263, allocations: 2.142 MB / 1.443 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/1.264, allocations: 0.7842 MB / 1.444 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/1.264, allocations: 425.6 kB / 1.444 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/1.266, allocations: 1.024 MB / 1.445 GB, free: 13.14 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/1.266, allocations: 0 / 1.445 GB, free: 13.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=146): time 0.006766/1.273, allocations: 2.994 MB / 1.448 GB, free: 10.04 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.273, allocations: 197.2 kB / 1.448 GB, free: 9.801 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/1.276, allocations: 1.837 MB / 1.45 GB, free: 7.953 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/1.276, allocations: 65.58 kB / 1.45 GB, free: 7.883 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007391/1.276, allocations: 0.8522 MB / 1.451 GB, free: 7.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/1.277, allocations: 0.5035 MB / 1.451 GB, free: 6.512 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/1.277, allocations: 254.8 kB / 1.451 GB, free: 6.258 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.278, allocations: 361.9 kB / 1.452 GB, free: 5.898 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.279, allocations: 0.5999 MB / 1.452 GB, free: 5.297 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/1.28, allocations: 0.8131 MB / 1.453 GB, free: 4.438 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/1.283, allocations: 1.357 MB / 1.455 GB, free: 3.066 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.283, allocations: 0 / 1.455 GB, free: 3.066 MB / 1.139 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00414/1.287, allocations: 1.851 MB / 1.456 GB, free: 1.191 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.287, allocations: 7.938 kB / 1.456 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.287, allocations: 0 / 1.456 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.288, allocations: 216.1 kB / 1.457 GB, free: 0.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.289, allocations: 335.6 kB / 1.457 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/1.295, allocations: 7.324 MB / 1.464 GB, free: 8.598 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.297, allocations: 177.1 kB / 1.464 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.297, allocations: 55.95 kB / 1.464 GB, free: 8.371 MB / 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 (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.0009432/1.298, allocations: 493 kB / 1.465 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/1.298, allocations: 194.8 kB / 1.465 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/1.303, allocations: 2.145 MB / 1.467 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.303, allocations: 16 kB / 1.467 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.303, allocations: 4 kB / 1.467 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.303, allocations: 7.969 kB / 1.467 GB, free: 5.488 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/1.31, allocations: 4.01 MB / 1.471 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.31, allocations: 0 / 1.471 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.312, allocations: 327.5 kB / 1.471 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/1.312, allocations: 204.1 kB / 1.471 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.313, allocations: 39.97 kB / 1.471 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/1.319, allocations: 7.368 MB / 1.479 GB, free: 8.758 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.319, allocations: 3.938 kB / 1.479 GB, free: 8.754 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/1.323, allocations: 2.021 MB / 1.481 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/1.324, allocations: 487.2 kB / 1.481 GB, free: 6.195 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/1.324, allocations: 31.98 kB / 1.481 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.326, allocations: 105.8 kB / 1.481 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/1.326, allocations: 113.2 kB / 1.481 GB, free: 5.953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.326, allocations: 75.88 kB / 1.481 GB, free: 5.879 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001667/1.328, allocations: 1.306 MB / 1.483 GB, free: 4.578 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.328, allocations: 0 / 1.483 GB, free: 4.578 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00178/1.33, allocations: 0.6899 MB / 1.483 GB, free: 3.887 MB / 1.17 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.001727/1.331, allocations: 0.7475 MB / 1.484 GB, free: 3.316 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003542/1.335, allocations: 2.109 MB / 1.486 GB, free: 1.145 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.335, allocations: 4.5 kB / 1.486 GB, free: 1.137 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.337, allocations: 1.434 MB / 1.488 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.339, allocations: 0.5451 MB / 1.488 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/1.346, allocations: 3.911 MB / 1.492 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.347, allocations: 1.546 MB / 1.493 GB, free: 9.586 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001696/1.349, allocations: 0.4931 MB / 1.494 GB, free: 9.086 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/1.349, allocations: 171.4 kB / 1.494 GB, free: 8.918 MB / 1.186 GB Notification: Performance of SimCode: time 7.61e-07/1.349, allocations: 0 / 1.494 GB, free: 8.918 MB / 1.186 GB Notification: Performance of Templates: time 0.05521/1.404, allocations: 32.45 MB / 1.526 GB, free: 8.797 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches