Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001272/0.001272, allocations: 111.1 kB / 17.07 MB, free: 6.082 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.001289/0.001289, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.508/1.508, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.699/2.699, allocations: 437.1 MB / 0.7177 GB, free: 4.555 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.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.33, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002044/0.3321, allocations: 0.6701 MB / 1.177 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3332, allocations: 0.816 MB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.3332, allocations: 0 / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.3333, allocations: 4 kB / 1.177 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.3334, allocations: 3.938 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3335, allocations: 11.98 kB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.3336, allocations: 23.92 kB / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3337, allocations: 11.98 kB / 1.177 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.3338, allocations: 4 kB / 1.177 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.3339, allocations: 19.86 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3339, allocations: 0 / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3339, allocations: 4 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3339, allocations: 8 kB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.334, allocations: 7.922 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3341, allocations: 31.78 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3341, allocations: 0 / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3341, allocations: 0 / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3341, allocations: 0 / 1.177 GB, free: 4.266 MB / 0.92 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.0005059/0.3346, allocations: 335.5 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3347, allocations: 8.031 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3347, allocations: 4.938 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3349, allocations: 172.3 kB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3349, allocations: 4.375 kB / 1.178 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3349, allocations: 4.375 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3351, allocations: 50.23 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3351, allocations: 192 / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3351, allocations: 7.922 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3351, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3353, allocations: 35.89 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3357, allocations: 244.9 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3358, allocations: 46.53 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.3359, allocations: 16.91 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.336, allocations: 0 / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.336, allocations: 38.56 kB / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.336, allocations: 0 / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003696/0.3364, allocations: 81.58 kB / 1.178 GB, free: 3.066 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3365, allocations: 51.41 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.3365, allocations: 105.8 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3366, allocations: 25.7 kB / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.3366, allocations: 84.27 kB / 1.179 GB, free: 2.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3366, allocations: 11.89 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3367, allocations: 13.72 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3368, allocations: 310.8 kB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.3369, allocations: 19.97 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.337, allocations: 15.98 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3372, allocations: 36.89 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3372, allocations: 3.938 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.3374, allocations: 77.55 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3374, allocations: 4 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3374, allocations: 4 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3375, allocations: 0 / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.3376, allocations: 15.95 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3376, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.3376, allocations: 11.92 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3376, allocations: 0 / 1.179 GB, free: 2.234 MB / 0.92 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 7.728e-05/0.3377, allocations: 113.8 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3378, allocations: 0 / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.338, allocations: 80.72 kB / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.338, allocations: 0 / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.338, allocations: 0 / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.338, allocations: 0 / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3382, allocations: 165.6 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3382, allocations: 0 / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.3383, allocations: 8 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3383, allocations: 0 / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3383, allocations: 0 / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3383, allocations: 0 / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3383, allocations: 3.984 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3386, allocations: 167.4 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3387, allocations: 85.05 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3387, allocations: 0 / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3388, allocations: 4 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3388, allocations: 7.984 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3388, allocations: 4.031 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.3389, allocations: 83.28 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.944e-06/0.3389, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002148/0.3391, allocations: 7.938 kB / 1.18 GB, free: 1.418 MB / 0.92 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.0001587/0.3393, allocations: 95.25 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3395, allocations: 39.95 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3395, allocations: 4.062 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.3396, allocations: 19.98 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3399, allocations: 10.22 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3403, allocations: 131.7 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3406, allocations: 0.6768 MB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3406, allocations: 7.438 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of SimCode: time 4.6e-07/0.3406, allocations: 4.062 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of Templates: time 0.002149/0.3428, allocations: 0.541 MB / 1.181 GB, free: 15.83 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.218850932084024]