Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 192 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7932, allocations: 140.4 MB / 0.9492 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002012/0.7952, allocations: 1.024 MB / 0.9502 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7966, allocations: 1.284 MB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.7966, allocations: 2.75 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.7968, allocations: 7.875 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.7969, allocations: 27.91 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.7976, allocations: 246.6 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.7979, allocations: 338.1 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.7981, allocations: 48.38 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.7983, allocations: 131.4 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.7984, allocations: 102.8 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.7985, allocations: 34.8 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.7986, allocations: 44.89 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.7987, allocations: 45.56 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.7988, allocations: 116.4 kB / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.7991, allocations: 333.2 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7991, allocations: 0 / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7991, allocations: 0 / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.7992, allocations: 1.438 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008923/0.8, allocations: 0.5667 MB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.8001, allocations: 13.03 kB / 0.9535 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.8001, allocations: 42.22 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.8002, allocations: 26.53 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.8005, allocations: 265 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.8005, allocations: 12.06 kB / 0.9538 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.8006, allocations: 16.91 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.801, allocations: 174.8 kB / 0.954 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.801, allocations: 7.875 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.801, allocations: 1.406 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.801, allocations: 2.25 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.8015, allocations: 139 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.8024, allocations: 0.8796 MB / 0.955 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.8027, allocations: 160.3 kB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.8029, allocations: 90.27 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.8029, allocations: 2.156 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.8033, allocations: 178.5 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.8033, allocations: 1.25 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0009034/0.8042, allocations: 284.4 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.8043, allocations: 166.4 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.8045, allocations: 203.6 kB / 0.956 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.8045, allocations: 33.61 kB / 0.9561 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.8046, allocations: 131.1 kB / 0.9562 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.8046, allocations: 28.67 kB / 0.9562 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.8048, allocations: 54.03 kB / 0.9563 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.8048, allocations: 332.6 kB / 0.9566 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.8051, allocations: 123.9 kB / 0.9567 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.8055, allocations: 172.3 kB / 0.9569 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.8061, allocations: 298.2 kB / 0.9572 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8061, allocations: 0 / 0.9572 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009514/0.8071, allocations: 410.2 kB / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.8072, allocations: 69.39 kB / 0.9576 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8072, allocations: 5.812 kB / 0.9576 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.8072, allocations: 7.812 kB / 0.9576 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.8074, allocations: 29.5 kB / 0.9577 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.8074, allocations: 7.297 kB / 0.9577 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.8079, allocations: 77.91 kB / 0.9577 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.808, allocations: 19.8 kB / 0.9578 GB, free: 2.246 MB / 0.7169 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.000166/0.8082, allocations: 137.3 kB / 0.9579 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.8082, allocations: 20.25 kB / 0.9579 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.8083, allocations: 17.69 kB / 0.9579 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.8083, allocations: 10.3 kB / 0.9579 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.8083, allocations: 6.312 kB / 0.9579 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8083, allocations: 1.469 kB / 0.9579 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.8086, allocations: 244.6 kB / 0.9582 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8086, allocations: 1.75 kB / 0.9582 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.8087, allocations: 30.44 kB / 0.9582 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.8087, allocations: 2 kB / 0.9582 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.8088, allocations: 2.344 kB / 0.9582 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.8088, allocations: 9.688 kB / 0.9582 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8088, allocations: 5.969 kB / 0.9582 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.8094, allocations: 253.4 kB / 0.9585 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.8095, allocations: 94.56 kB / 0.9586 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.8095, allocations: 6.203 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.8096, allocations: 22.92 kB / 0.9586 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.8097, allocations: 22.78 kB / 0.9586 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.8098, allocations: 8.406 kB / 0.9586 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001192/0.8099, allocations: 144 kB / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8099, allocations: 0 / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003003/0.8102, allocations: 48.81 kB / 0.9588 GB, free: 1.371 MB / 0.7169 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.0007263/0.8109, allocations: 0.7921 MB / 0.9596 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.8117, allocations: 375.9 kB / 0.9599 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8117, allocations: 0 / 0.9599 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.812, allocations: 103.1 kB / 0.96 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.8124, allocations: 47.23 kB / 0.9601 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.8164, allocations: 2.582 MB / 0.9626 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.8167, allocations: 0.7224 MB / 0.9633 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.8168, allocations: 27.19 kB / 0.9633 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.8169, allocations: 55.31 kB / 0.9634 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.8169, allocations: 0 / 0.9634 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.8342, allocations: 4.706 MB / 0.968 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.8344, allocations: 215.9 kB / 0.9682 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.78, allocations: 0 / 0.9682 GB, free: 10.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches