Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008062/0.0008062, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008702/0.0008702, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.911/0.911, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.797e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001728/0.001756, allocations: 0.7026 MB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003063, allocations: 1.272 MB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.003115, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.003222, allocations: 15.86 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.00327, allocations: 23.78 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.003848, allocations: 234.5 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.004098, allocations: 247.6 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.004231, allocations: 27.91 kB / 0.953 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004378, allocations: 143.8 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.004514, allocations: 71.81 kB / 0.9532 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.004549, allocations: 20 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.004638, allocations: 35.98 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.004701, allocations: 35.84 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.004779, allocations: 75.81 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.005043, allocations: 251.3 kB / 0.9536 GB, free: 348 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005046, allocations: 3.938 kB / 0.9536 GB, free: 344 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.974e-06/0.005048, allocations: 4 kB / 0.9536 GB, free: 340 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.005053, allocations: 0 / 0.9536 GB, free: 340 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005014/0.005555, allocations: 442.9 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.005593, allocations: 8.031 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.005626, allocations: 46.73 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.005888, allocations: 56.81 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.006243, allocations: 193.6 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.00626, allocations: 16.36 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.006286, allocations: 20.38 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.006452, allocations: 121.6 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.006461, allocations: 192 / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.006475, allocations: 12.38 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.006481, allocations: 3.938 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.006544, allocations: 51.91 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.007025, allocations: 0.6018 MB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.007083, allocations: 45.14 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.007101, allocations: 13.78 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.007108, allocations: 0 / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.007282, allocations: 97.05 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.007284, allocations: 4 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002047/0.007488, allocations: 109.8 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.00753, allocations: 81.05 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.007645, allocations: 175.9 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.007667, allocations: 33.7 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.007735, allocations: 120 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.007746, allocations: 15.91 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.007815, allocations: 61.67 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.007894, allocations: 322.8 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.008005, allocations: 111.4 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.008148, allocations: 231.3 kB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.008367, allocations: 174.1 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.008371, allocations: 7.984 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/0.008671, allocations: 332.4 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.00872, allocations: 65.84 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008725, allocations: 0 / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.00874, allocations: 4 kB / 0.957 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.008758, allocations: 7.984 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.008764, allocations: 4 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.008949, allocations: 59.92 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.008968, allocations: 16 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001013/0.009069, allocations: 141.8 kB / 0.9572 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.009082, allocations: 15.89 kB / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.009124, allocations: 16.28 kB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.009128, allocations: 0 / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.009133, allocations: 0 / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009137, allocations: 0 / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.009264, allocations: 176.7 kB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009266, allocations: 0 / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.009271, allocations: 0 / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.009273, allocations: 8 kB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.009281, allocations: 7.938 kB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.009287, allocations: 0 / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.009289, allocations: 0 / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.009405, allocations: 117.8 kB / 0.9575 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.009417, allocations: 7.953 kB / 0.9575 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.009432, allocations: 7.938 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.009447, allocations: 0 / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.009475, allocations: 11.98 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.00948, allocations: 0 / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.009539, allocations: 121.2 kB / 0.9577 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009539, allocations: 4 kB / 0.9577 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00018/0.009719, allocations: 43.88 kB / 0.9577 GB, free: 11.59 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0003341/0.01005, allocations: 0.6562 MB / 0.9584 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01031, allocations: 270.1 kB / 0.9586 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01031, allocations: 0 / 0.9586 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.01034, allocations: 23.92 kB / 0.9587 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01053, allocations: 20.48 kB / 0.9587 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.01212, allocations: 2.164 MB / 0.9608 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.01219, allocations: 97.77 kB / 0.9609 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.01222, allocations: 16.97 kB / 0.9609 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.01227, allocations: 40.48 kB / 0.9609 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01227, allocations: 288 / 0.9609 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.03494, allocations: 4.375 MB / 0.9652 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.796, allocations: 8.719 kB / 0.9652 GB, free: 3.844 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 10.776289797388017]