Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.001462/0.001462, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001472/0.001472, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 71.88 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.7643, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001634/0.7659, allocations: 0.6774 MB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.7666, allocations: 0.7837 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.7666, allocations: 0.625 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.7666, allocations: 4.75 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.7667, allocations: 9.312 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.7668, allocations: 12.34 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.7669, allocations: 22.47 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.7669, allocations: 8.141 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.767, allocations: 8.641 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.767, allocations: 13.5 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.767, allocations: 2 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-06/0.767, allocations: 2.312 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.767, allocations: 2.312 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.7671, allocations: 15.08 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.7671, allocations: 22.67 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7671, allocations: 0.7812 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7671, allocations: 4 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7671, allocations: 0 / 1.273 GB, free: 6.621 MB / 0.9981 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.00031/0.7675, allocations: 337.4 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.7675, allocations: 13.34 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2e-05/0.7675, allocations: 32.47 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.7675, allocations: 5.703 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.939e-05/0.7676, allocations: 171.4 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.7676, allocations: 1.156 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.7676, allocations: 5.875 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.7678, allocations: 52.84 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.7678, allocations: 4.812 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.7678, allocations: 0 / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7678, allocations: 0.7812 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.7679, allocations: 32.8 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.7681, allocations: 246.2 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.7683, allocations: 43.92 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.7683, allocations: 19.47 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.7684, allocations: 1.594 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.7684, allocations: 35.38 kB / 1.274 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.7684, allocations: 4 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003059/0.7687, allocations: 80.59 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.7687, allocations: 56.16 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.7687, allocations: 104.9 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.7687, allocations: 26.39 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.7688, allocations: 81.75 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.7688, allocations: 17.36 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.7688, allocations: 13.47 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.7688, allocations: 312.4 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.7689, allocations: 21.81 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.769, allocations: 14.84 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.7691, allocations: 41.53 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7691, allocations: 3.938 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.7693, allocations: 68.42 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7693, allocations: 5.781 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7693, allocations: 0 / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.7693, allocations: 0 / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.7694, allocations: 12.88 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7694, allocations: 3.047 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.7694, allocations: 7.188 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.7694, allocations: 1.312 kB / 1.275 GB, free: 4.855 MB / 0.9981 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 3.549e-05/0.7695, allocations: 112.8 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.7695, allocations: 0.875 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.7697, allocations: 71.52 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.7697, allocations: 0 / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7697, allocations: 5.031 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7697, allocations: 7.547 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.265e-05/0.7698, allocations: 157.9 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7698, allocations: 0 / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.7699, allocations: 9.812 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7699, allocations: 0 / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7699, allocations: 1.094 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.7699, allocations: 3.938 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7699, allocations: 1 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.77, allocations: 169.7 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.7701, allocations: 80.16 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.7701, allocations: 0.8125 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.7701, allocations: 4.859 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.7702, allocations: 6.672 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.7702, allocations: 3.266 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.829e-05/0.7702, allocations: 86 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7702, allocations: 0.9688 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001966/0.7704, allocations: 3.469 kB / 1.275 GB, free: 4.16 MB / 0.9981 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.0003328/0.7707, allocations: 0.7014 MB / 1.276 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.7709, allocations: 34.67 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7709, allocations: 0 / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.771, allocations: 15.67 kB / 1.276 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.7712, allocations: 9 kB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.7715, allocations: 152.8 kB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.7716, allocations: 0.6765 MB / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.7716, allocations: 0.9375 kB / 1.277 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.7716, allocations: 10.16 kB / 1.277 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7716, allocations: 0 / 1.277 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.7938, allocations: 1.267 MB / 1.278 GB, free: 18.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.741, allocations: 13.62 kB / 1.278 GB, free: 18.25 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.96645992699996]