Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001961/0.001961, allocations: 79.59 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002321/0.002321, allocations: 165.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.87/2.87, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.597e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002031/0.002067, allocations: 0.9177 MB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.004176, allocations: 1.462 MB / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.004247, allocations: 4 kB / 0.9838 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.004294, allocations: 19.75 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.004454, allocations: 63.5 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.005515, allocations: 443.4 kB / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.006086, allocations: 0.4951 MB / 0.9848 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.006217, allocations: 33.89 kB / 0.9848 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.006556, allocations: 267.6 kB / 0.985 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.00682, allocations: 131.6 kB / 0.9852 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.006906, allocations: 48 kB / 0.9852 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.007032, allocations: 67.97 kB / 0.9853 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.007079, allocations: 31.86 kB / 0.9853 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.007261, allocations: 143.7 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.007897, allocations: 0.5534 MB / 0.986 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.007902, allocations: 3.938 kB / 0.986 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.42e-07/0.007902, allocations: 0 / 0.986 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.007909, allocations: 0 / 0.986 GB, free: 7.293 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008424/0.008751, allocations: 0.5663 MB / 0.9865 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.008794, allocations: 12.03 kB / 0.9866 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.008903, allocations: 28.8 kB / 0.9866 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.009086, allocations: 165 kB / 0.9867 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.009116, allocations: 12.38 kB / 0.9867 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.009173, allocations: 24.36 kB / 0.9868 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.00939, allocations: 128.3 kB / 0.9869 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.009398, allocations: 192 / 0.9869 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.009413, allocations: 4.375 kB / 0.9869 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.009418, allocations: 384 / 0.9869 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.009542, allocations: 67.84 kB / 0.987 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.01044, allocations: 0.7077 MB / 0.9877 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.01062, allocations: 118.4 kB / 0.9878 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.0107, allocations: 51.48 kB / 0.9878 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.01071, allocations: 0 / 0.9878 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.01103, allocations: 186.5 kB / 0.988 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.01103, allocations: 3.938 kB / 0.988 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004962/0.01153, allocations: 234.1 kB / 0.9882 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.01163, allocations: 140.5 kB / 0.9884 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01188, allocations: 237.7 kB / 0.9886 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.01194, allocations: 37.7 kB / 0.9886 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01206, allocations: 128.6 kB / 0.9887 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.0121, allocations: 35.73 kB / 0.9888 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.01228, allocations: 89.66 kB / 0.9889 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.01243, allocations: 334.8 kB / 0.9892 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.01281, allocations: 271 kB / 0.9894 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.01326, allocations: 353.5 kB / 0.9898 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.01375, allocations: 380.8 kB / 0.9901 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.01375, allocations: 4 kB / 0.9901 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001064/0.01481, allocations: 0.6902 MB / 0.9908 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.01492, allocations: 134.8 kB / 0.9909 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01493, allocations: 4 kB / 0.9909 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.01495, allocations: 4 kB / 0.991 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.01503, allocations: 15.94 kB / 0.991 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.01504, allocations: 4 kB / 0.991 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.0157, allocations: 116 kB / 0.9911 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.01576, allocations: 27.97 kB / 0.9911 GB, free: 1.535 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001679/0.01593, allocations: 149.7 kB / 0.9913 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.01596, allocations: 23.84 kB / 0.9913 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.01601, allocations: 21.33 kB / 0.9913 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01601, allocations: 8 kB / 0.9913 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01602, allocations: 0 / 0.9913 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01603, allocations: 4 kB / 0.9913 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.01623, allocations: 181.1 kB / 0.9915 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01623, allocations: 4 kB / 0.9915 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.01628, allocations: 15.98 kB / 0.9915 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01628, allocations: 0 / 0.9915 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01629, allocations: 4 kB / 0.9915 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01629, allocations: 0 / 0.9915 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.0163, allocations: 7.938 kB / 0.9915 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01661, allocations: 215.4 kB / 0.9917 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.01665, allocations: 23.86 kB / 0.9917 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.01668, allocations: 7.984 kB / 0.9917 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.01673, allocations: 4 kB / 0.9917 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.01678, allocations: 11.98 kB / 0.9918 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.0168, allocations: 15.98 kB / 0.9918 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001556/0.01695, allocations: 165.2 kB / 0.9919 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01695, allocations: 0 / 0.9919 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000336/0.01729, allocations: 75.88 kB / 0.992 GB, free: 0.5469 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001839/0.01747, allocations: 111.2 kB / 0.9921 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000819/0.01829, allocations: 0.6018 MB / 0.9927 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01829, allocations: 0 / 0.9927 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01841, allocations: 64.64 kB / 0.9928 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.01886, allocations: 68.83 kB / 0.9928 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.01948, allocations: 341.6 kB / 0.9932 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01959, allocations: 120.9 kB / 0.9933 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.01965, allocations: 17.64 kB / 0.9933 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.0197, allocations: 24.5 kB / 0.9933 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.0197, allocations: 0 / 0.9933 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of Templates: time 0.009717/0.02941, allocations: 5.046 MB / 0.9982 GB, free: 10.15 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.508140958845615]