Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008369/0.0008369, 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.001038/0.001038, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.495e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001695/0.00172, allocations: 1.253 MB / 0.9822 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003279, allocations: 1.575 MB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.003368, allocations: 4 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003489, allocations: 39.38 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.003584, allocations: 79.38 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.004356, allocations: 0.4979 MB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.00482, allocations: 0.6481 MB / 0.985 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.005053, allocations: 117.3 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.005337, allocations: 367.4 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.005521, allocations: 195.5 kB / 0.9856 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.00558, allocations: 64 kB / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.611e-05/0.005676, allocations: 76 kB / 0.9857 GB, free: 13.67 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.00575, allocations: 87.66 kB / 0.9858 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.005894, allocations: 187.6 kB / 0.986 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.006428, allocations: 0.7712 MB / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006431, allocations: 0 / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006433, allocations: 0 / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.006441, allocations: 0 / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009396/0.00738, allocations: 0.8672 MB / 0.9876 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.007422, allocations: 12.03 kB / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.00747, allocations: 58.73 kB / 0.9877 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.007548, allocations: 56.64 kB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.008257, allocations: 408.7 kB / 0.9881 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.008285, allocations: 24.88 kB / 0.9881 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.008333, allocations: 44.31 kB / 0.9882 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.008768, allocations: 461 kB / 0.9886 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008778, allocations: 8.109 kB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.008796, allocations: 12.38 kB / 0.9886 GB, free: 10.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.008803, allocations: 7.938 kB / 0.9887 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.009199, allocations: 386.3 kB / 0.989 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01023, allocations: 0.7824 MB / 0.9898 GB, free: 9.297 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.01066, allocations: 481.9 kB / 0.9902 GB, free: 8.789 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.01098, allocations: 393.1 kB / 0.9906 GB, free: 8.371 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.011, allocations: 0 / 0.9906 GB, free: 8.371 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.01138, allocations: 460.2 kB / 0.9911 GB, free: 7.879 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.255e-06/0.01138, allocations: 0 / 0.9911 GB, free: 7.879 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001014/0.0124, allocations: 1.1 MB / 0.9921 GB, free: 6.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.01247, allocations: 191.9 kB / 0.9923 GB, free: 6.449 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.01267, allocations: 292.5 kB / 0.9926 GB, free: 6.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.01271, allocations: 49.7 kB / 0.9926 GB, free: 6.105 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.01281, allocations: 168.9 kB / 0.9928 GB, free: 5.938 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.01288, allocations: 138.8 kB / 0.9929 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.01302, allocations: 138.1 kB / 0.9931 GB, free: 5.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.01312, allocations: 346.8 kB / 0.9934 GB, free: 5.312 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.01356, allocations: 0.5197 MB / 0.9939 GB, free: 4.738 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.01416, allocations: 0.6143 MB / 0.9945 GB, free: 4.035 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.01487, allocations: 0.9136 MB / 0.9954 GB, free: 3.008 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.01487, allocations: 4 kB / 0.9954 GB, free: 3.004 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001042/0.01591, allocations: 1.264 MB / 0.9966 GB, free: 1.621 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.01601, allocations: 259.3 kB / 0.9969 GB, free: 1.312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01602, allocations: 4 kB / 0.9969 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01604, allocations: 4 kB / 0.9969 GB, free: 1.305 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.0162, allocations: 67.89 kB / 0.997 GB, free: 1.238 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01621, allocations: 4.219 kB / 0.997 GB, free: 1.234 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.01656, allocations: 143.6 kB / 0.9971 GB, free: 1.094 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.01663, allocations: 71.86 kB / 0.9972 GB, free: 1.023 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001945/0.01682, allocations: 320.3 kB / 0.9975 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.01686, allocations: 43.7 kB / 0.9975 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.01692, allocations: 35.48 kB / 0.9975 GB, free: 0.5898 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01692, allocations: 8 kB / 0.9976 GB, free: 0.582 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01693, allocations: 0 / 0.9976 GB, free: 0.582 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01693, allocations: 3.984 kB / 0.9976 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.01802, allocations: 1.258 MB / 0.9988 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01803, allocations: 0 / 0.9988 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.01815, allocations: 67.89 kB / 0.9989 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.01816, allocations: 8 kB / 0.9989 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.01818, allocations: 15.98 kB / 0.9989 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01818, allocations: 3.938 kB / 0.9989 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01818, allocations: 0 / 0.9989 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.01887, allocations: 0.9035 MB / 0.9998 GB, free: 14.13 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.01891, allocations: 35.69 kB / 0.9998 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01894, allocations: 15.98 kB / 0.9998 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01904, allocations: 27.97 kB / 0.9998 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.01911, allocations: 35.94 kB / 0.9999 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.01915, allocations: 47.94 kB / 0.9999 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001226/0.01928, allocations: 203 kB / 1 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01928, allocations: 0 / 1 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002843/0.01956, allocations: 107.9 kB / 1 GB, free: 13.67 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.001049/0.02061, allocations: 1.467 MB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.02161, allocations: 1.433 MB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02162, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.02199, allocations: 0.6223 MB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.02233, allocations: 91.38 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.02697, allocations: 5.855 MB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.0271, allocations: 193 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.02726, allocations: 91.2 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.02737, allocations: 116.5 kB / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of SimCode: time 1.152e-06/0.02737, allocations: 0 / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.05062, allocations: 11.17 MB / 1.021 GB, free: 8.086 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.017, allocations: 4.672 kB / 1.021 GB, free: 8.086 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 11.138455145992339]