Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001729/0.001729, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002069/0.002069, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.746/2.746, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.646e-06/3.646e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.726e-05/4.091e-05, allocations: 3.688 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003405/0.003446, allocations: 0.9683 MB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.006668, allocations: 1.359 MB / 0.7887 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.006762, allocations: 5.188 kB / 0.7887 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.006917, allocations: 15.81 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.007104, allocations: 53.2 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.008307, allocations: 271.3 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007521/0.00906, allocations: 384.4 kB / 0.7894 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.00927, allocations: 45.77 kB / 0.7894 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.009767, allocations: 219.6 kB / 0.7896 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.01007, allocations: 100.4 kB / 0.7897 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.01017, allocations: 36.91 kB / 0.7897 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.01035, allocations: 51.97 kB / 0.7898 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.01049, allocations: 55.83 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.01072, allocations: 104.4 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.01154, allocations: 440.3 kB / 0.7904 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01154, allocations: 0 / 0.7904 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01154, allocations: 7.938 kB / 0.7904 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.01155, allocations: 0 / 0.7904 GB, free: 8.766 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001524/0.01307, allocations: 0.5389 MB / 0.7909 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.01312, allocations: 8.031 kB / 0.7909 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.0137, allocations: 92.7 kB / 0.791 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.01519, allocations: 311.2 kB / 0.7913 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.01523, allocations: 12.38 kB / 0.7913 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.01531, allocations: 20.38 kB / 0.7913 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.01607, allocations: 207.4 kB / 0.7915 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.01609, allocations: 4.172 kB / 0.7915 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.01612, allocations: 5.25 kB / 0.7915 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01613, allocations: 8.125 kB / 0.7915 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.01699, allocations: 146.1 kB / 0.7917 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.01832, allocations: 0.7884 MB / 0.7924 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.01869, allocations: 146.6 kB / 0.7926 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.01896, allocations: 77.98 kB / 0.7927 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01898, allocations: 7.938 kB / 0.7927 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.01948, allocations: 177.3 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01948, allocations: 1.281 kB / 0.7928 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0009798/0.02046, allocations: 256.4 kB / 0.7931 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.02058, allocations: 159.4 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.02085, allocations: 233.6 kB / 0.7935 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.02091, allocations: 37.7 kB / 0.7935 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.02105, allocations: 145.3 kB / 0.7936 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.0211, allocations: 35.73 kB / 0.7937 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.02123, allocations: 55.91 kB / 0.7937 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.02143, allocations: 330.8 kB / 0.794 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.02183, allocations: 159.3 kB / 0.7942 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.02233, allocations: 291.3 kB / 0.7945 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.023, allocations: 273.3 kB / 0.7947 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02301, allocations: 1 kB / 0.7947 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001075/0.02408, allocations: 459 kB / 0.7952 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.02416, allocations: 63.41 kB / 0.7952 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.02417, allocations: 5.562 kB / 0.7952 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.02419, allocations: 0 / 0.7952 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.02436, allocations: 31.91 kB / 0.7953 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.02437, allocations: 7.594 kB / 0.7953 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.02479, allocations: 67.86 kB / 0.7953 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.02484, allocations: 19.98 kB / 0.7953 GB, free: 3.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001898/0.02503, allocations: 150.6 kB / 0.7955 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.02509, allocations: 31.8 kB / 0.7955 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.02515, allocations: 22.36 kB / 0.7955 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02515, allocations: 0 / 0.7955 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.02516, allocations: 4 kB / 0.7955 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02516, allocations: 5.062 kB / 0.7955 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.02541, allocations: 177.2 kB / 0.7957 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.02541, allocations: 4 kB / 0.7957 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.02556, allocations: 25 kB / 0.7957 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.02557, allocations: 0.9688 kB / 0.7957 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.02559, allocations: 7.938 kB / 0.7958 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.0256, allocations: 7.938 kB / 0.7958 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0256, allocations: 0.5 kB / 0.7958 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.02628, allocations: 243.3 kB / 0.796 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.02631, allocations: 19.91 kB / 0.796 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.02634, allocations: 11.92 kB / 0.796 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.02648, allocations: 15.98 kB / 0.796 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.02656, allocations: 23.89 kB / 0.7961 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.02659, allocations: 12 kB / 0.7961 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001754/0.02676, allocations: 157.2 kB / 0.7962 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02676, allocations: 0 / 0.7962 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003322/0.02709, allocations: 51.89 kB / 0.7963 GB, free: 2.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001883/0.02728, allocations: 119.2 kB / 0.7964 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008912/0.02817, allocations: 373.9 kB / 0.7967 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02818, allocations: 0 / 0.7967 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.02847, allocations: 76.31 kB / 0.7968 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.02885, allocations: 66.19 kB / 0.7969 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.02961, allocations: 388.8 kB / 0.7972 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.02977, allocations: 136.8 kB / 0.7974 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.0299, allocations: 37.61 kB / 0.7974 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.02996, allocations: 20.5 kB / 0.7974 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.02996, allocations: 0 / 0.7974 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of Templates: time 0.007949/0.03791, allocations: 3.323 MB / 0.8007 GB, free: 13.7 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.024867270956747]