Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8769/0.8769, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.727e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0012/0.001217, allocations: 0.6626 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.001949, allocations: 0.8082 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.001978, allocations: 4 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.002, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.002056, allocations: 11.88 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.00222, allocations: 19.86 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.002279, allocations: 23.92 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.002366, allocations: 4 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.002428, allocations: 11.98 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.002461, allocations: 15.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.002474, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.781e-05/0.002512, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.002526, allocations: 7.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.002544, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.00264, allocations: 31.89 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002642, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002642, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.002646, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003076/0.002954, allocations: 262.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.002994, allocations: 12.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.003022, allocations: 30.75 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.003076, allocations: 4.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.00315, allocations: 105.8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.00316, allocations: 384 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.003168, allocations: 8.375 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.003287, allocations: 54.17 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003293, allocations: 192 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.003302, allocations: 4.375 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003307, allocations: 4.125 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.003391, allocations: 39.89 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.003665, allocations: 212 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.00374, allocations: 38.56 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.003782, allocations: 20.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.003798, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.003816, allocations: 38.5 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003816, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.004011, allocations: 81.58 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.004037, allocations: 55.41 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.004087, allocations: 106 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.004096, allocations: 25.7 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.004125, allocations: 80.14 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.004139, allocations: 7.953 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.004163, allocations: 13.72 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.004309, allocations: 318.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.004348, allocations: 11.98 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.004382, allocations: 19.98 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.004457, allocations: 44.83 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004458, allocations: 3.938 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.106e-05/0.00455, allocations: 69.59 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.004561, allocations: 4 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.004565, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.004575, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.00463, allocations: 16.02 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.004634, allocations: 0 / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.004655, allocations: 7.984 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.004659, allocations: 0 / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.004708, allocations: 113.8 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.00472, allocations: 7.891 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.004834, allocations: 68.91 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.004836, allocations: 4.188 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.00484, allocations: 4.031 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004842, allocations: 7.922 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.672e-05/0.004929, allocations: 124.8 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00493, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.004952, allocations: 11.98 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.004954, allocations: 3.938 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.004959, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.00496, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00496, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.005071, allocations: 163.5 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.005078, allocations: 7.875 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.005086, allocations: 7.938 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.005121, allocations: 7.984 kB / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.005152, allocations: 0 / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005154, allocations: 0 / 1.003 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.00518, allocations: 87.27 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00518, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001332/0.005313, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003316/0.005645, allocations: 0.6929 MB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.005756, allocations: 39.89 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005758, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.005795, allocations: 15.98 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.005978, allocations: 14.16 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.006284, allocations: 139.2 kB / 1.004 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.006326, allocations: 59.34 kB / 1.004 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.006342, allocations: 0 / 1.004 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.006375, allocations: 12.5 kB / 1.004 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of SimCode: time 4.2e-07/0.006375, allocations: 3.938 kB / 1.004 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02171, allocations: 1.967 MB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.396/6.418, allocations: 0 / 1.006 GB, free: 6.348 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.396108204498887]