Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001825/0.001825, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002166/0.002166, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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 1.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.141/3.141, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 0 / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.84e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002447/0.002486, allocations: 0.6153 MB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.004195, allocations: 0.8361 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.004228, allocations: 0 / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.004256, allocations: 1.688 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.004325, allocations: 7.875 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.004517, allocations: 11.98 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.158e-05/0.004608, allocations: 21.45 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.004655, allocations: 3.984 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.004834, allocations: 19.92 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.004893, allocations: 11.94 kB / 0.8124 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004908, allocations: 1.125 kB / 0.8124 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.222e-05/0.00496, allocations: 7.938 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.00497, allocations: 0 / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.005005, allocations: 5.594 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.00514, allocations: 27.89 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.005146, allocations: 4 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005147, allocations: 0 / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.005151, allocations: 0.5 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005232/0.005674, allocations: 251.1 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.005721, allocations: 12.03 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.005919, allocations: 5.469 kB / 0.8127 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.006089, allocations: 119.4 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.006103, allocations: 384 / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.006115, allocations: 4.359 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.006263, allocations: 38.25 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006274, allocations: 0.6875 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.006283, allocations: 0.9688 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.006287, allocations: 384 / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.382e-05/0.006381, allocations: 16.66 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.006603, allocations: 106.5 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006704, allocations: 22.61 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.006776, allocations: 14.28 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.006798, allocations: 4 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.006843, allocations: 30.56 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.006844, allocations: 0 / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0003334/0.007178, allocations: 63.31 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.007235, allocations: 51.41 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007373, allocations: 105.8 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.0074, allocations: 27.92 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.007473, allocations: 84.12 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007502, allocations: 4 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.007551, allocations: 13.72 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.007777, allocations: 310.8 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.007855, allocations: 10.7 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.007897, allocations: 8 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.008002, allocations: 20.84 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008004, allocations: 3.938 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001582/0.008162, allocations: 47.25 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.008179, allocations: 7.938 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.008184, allocations: 0 / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.008205, allocations: 0 / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.008282, allocations: 8.484 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.008288, allocations: 1.531 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.008335, allocations: 7.938 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.008343, allocations: 0 / 0.8137 GB, free: 14.96 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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 0.0001108/0.008453, allocations: 105.8 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.008474, allocations: 10.55 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.008503, allocations: 7.156 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.008508, allocations: 3.984 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.008512, allocations: 256 / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.008519, allocations: 3.938 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.008653, allocations: 101.3 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008654, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.008703, allocations: 8.484 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008706, allocations: 1.031 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.008713, allocations: 3.938 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008715, allocations: 0 / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.008719, allocations: 4.906 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.00891, allocations: 69.91 kB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.008918, allocations: 0 / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.008937, allocations: 11.67 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.008974, allocations: 0 / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.009017, allocations: 4 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.009026, allocations: 4 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.009092, allocations: 79.28 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009092, allocations: 0 / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003064/0.009398, allocations: 3.938 kB / 0.8141 GB, free: 14.5 MB / 0.7761 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 (1): * Single equations (assignments): 1 * 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.0001717/0.00957, allocations: 99.23 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.009736, allocations: 25.67 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009738, allocations: 0 / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.009785, allocations: 4 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01001, allocations: 0.9375 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.01041, allocations: 112.3 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.0105, allocations: 67.14 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.01054, allocations: 5.125 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01058, allocations: 8.5 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01058, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003492/0.01407, allocations: 316.8 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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: 8.134583977982402]