Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.00167/0.00167, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002508/0.002508, allocations: 210.6 kB / 22.25 MB, free: 5.082 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.961/2.961, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 65.47 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 169.9 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002062/0.3492, allocations: 0.7438 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3508, allocations: 1.192 MB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.3509, allocations: 0 / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.3509, allocations: 3.938 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.351, allocations: 19.84 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.3516, allocations: 126.1 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3518, allocations: 123.8 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3519, allocations: 15.97 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3521, allocations: 47.91 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3522, allocations: 47.88 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.3522, allocations: 12 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.3523, allocations: 23.98 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.3523, allocations: 23.8 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/0.3524, allocations: 39.86 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3526, allocations: 115.2 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3527, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3527, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.3527, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007446/0.3534, allocations: 340.5 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3535, allocations: 12.03 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.3535, allocations: 34.75 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.3536, allocations: 8.891 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3537, allocations: 118.4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3537, allocations: 4.375 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3537, allocations: 16.36 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3539, allocations: 58.17 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.354, allocations: 3.938 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.354, allocations: 12 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.354, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.3542, allocations: 39.95 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.3547, allocations: 299.8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3549, allocations: 62.55 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.355, allocations: 32.97 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.355, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.3553, allocations: 87.31 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.3553, allocations: 3.984 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004637/0.3558, allocations: 141.6 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3558, allocations: 55.39 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.356, allocations: 121.7 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.356, allocations: 33.7 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3561, allocations: 92.12 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3561, allocations: 19.97 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/0.3562, allocations: 45.64 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3563, allocations: 322.8 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3565, allocations: 47.97 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3567, allocations: 84.25 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3569, allocations: 150.2 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3569, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004639/0.3574, allocations: 215.2 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.3574, allocations: 36.05 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3575, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3575, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.3576, allocations: 19.92 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3576, allocations: 4 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3578, allocations: 43.78 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3578, allocations: 8.062 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001233/0.3579, allocations: 127.2 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3579, allocations: 7.953 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.358, allocations: 12.36 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.358, allocations: 4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.358, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.358, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.3585, allocations: 345.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3585, allocations: 3.984 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.3585, allocations: 8 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3585, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3585, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.3586, allocations: 8.047 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3586, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3589, allocations: 219.3 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.3589, allocations: 3.953 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3589, allocations: 4 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.359, allocations: 7.984 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3591, allocations: 11.92 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3591, allocations: 11.92 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.3592, allocations: 87.28 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3592, allocations: 4 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003317/0.3595, allocations: 31.92 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006972/0.3602, allocations: 0.7397 MB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.3606, allocations: 167.3 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3606, allocations: 0 / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3607, allocations: 31.97 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.361, allocations: 11.94 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3631, allocations: 1.696 MB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3635, allocations: 0.6885 MB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.3635, allocations: 4 kB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.3635, allocations: 19.44 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3636, allocations: 3.938 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3919, allocations: 2.694 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.35, allocations: 10.88 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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: 18.298061968991533]