Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 192.7 kB / 16.53 MB, free: 6.625 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 64.38 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4204, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.00241/0.4229, allocations: 0.6614 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.4239, allocations: 0.8411 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.424, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.424, allocations: 4 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.4241, allocations: 11.92 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.4242, allocations: 7.938 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.4243, allocations: 39.91 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4244, allocations: 11.92 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.4245, allocations: 15.98 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.4246, allocations: 15.92 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.4246, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.4246, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.4247, allocations: 8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.4247, allocations: 7.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.4248, allocations: 39.86 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4248, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4248, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.4248, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 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.0005347/0.4254, allocations: 355.7 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4254, allocations: 8.031 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.4254, allocations: 8.938 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.4256, allocations: 172.3 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4256, allocations: 4.375 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.4256, allocations: 384 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.4258, allocations: 62.16 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4258, allocations: 4.188 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4259, allocations: 3.938 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4259, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.4261, allocations: 59.94 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.4265, allocations: 261 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4267, allocations: 62.47 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4269, allocations: 32.89 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4269, allocations: 7.875 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4269, allocations: 34.56 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4269, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000466/0.4274, allocations: 117.6 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.4274, allocations: 51.41 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.4275, allocations: 105.8 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4275, allocations: 25.7 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.4276, allocations: 84.14 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.4276, allocations: 12.03 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.4277, allocations: 9.719 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4278, allocations: 322.8 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4279, allocations: 36.77 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4281, allocations: 41.69 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4283, allocations: 56.8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4283, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002732/0.4286, allocations: 97.58 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4286, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4286, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4286, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4287, allocations: 19.97 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4287, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.4288, allocations: 15.92 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.4288, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001229/0.429, allocations: 100.2 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.539e-05/0.4291, allocations: 33.69 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001363/0.4292, allocations: 37.08 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.4292, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001908/0.4294, allocations: 77.62 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4294, allocations: 5.406 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.4294, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.4294, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.4295, allocations: 11.94 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.4295, allocations: 3.984 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.4296, allocations: 11.92 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.4296, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 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 0.0001004/0.4297, allocations: 188.9 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.4297, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.4297, allocations: 7.531 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4298, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4298, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4298, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4299, allocations: 165.6 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4299, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.43, allocations: 11.98 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.43, allocations: 4 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.43, allocations: 4 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4301, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4301, allocations: 3.984 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.4304, allocations: 187.3 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.4304, allocations: 81.14 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4304, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.4305, allocations: 7.984 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4306, allocations: 11.97 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4306, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.4306, allocations: 83.28 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4306, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002571/0.4309, allocations: 8 kB / 1.073 GB, free: 5.332 MB / 0.8262 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.0001689/0.4311, allocations: 103.2 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4315, allocations: 79.91 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4315, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4316, allocations: 36.03 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.4319, allocations: 11.88 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.4323, allocations: 137.3 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4326, allocations: 0.6768 MB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.4326, allocations: 8.062 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.4326, allocations: 7.438 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4327, allocations: 3.938 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of Templates: time 0.002711/0.4354, allocations: 0.5982 MB / 1.074 GB, free: 3.621 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches