Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008929/0.0008929, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008992/0.0008992, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9156/0.9156, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.504e-05, allocations: 6.219 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001373/0.001388, allocations: 0.9697 MB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002698, allocations: 1.361 MB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.002763, allocations: 8 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002864, allocations: 15.75 kB / 0.9833 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.002943, allocations: 47.64 kB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.00351, allocations: 272.8 kB / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.0038, allocations: 391.1 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.00393, allocations: 45.72 kB / 0.984 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.004166, allocations: 215.7 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.004291, allocations: 107.7 kB / 0.9843 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.004329, allocations: 36 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.004409, allocations: 51.92 kB / 0.9844 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.004474, allocations: 63.81 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.004557, allocations: 95.75 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.004871, allocations: 442.8 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004873, allocations: 0 / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004874, allocations: 0 / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004878, allocations: 0 / 0.9849 GB, free: 14.52 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006922/0.00557, allocations: 0.5471 MB / 0.9855 GB, free: 13.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.005606, allocations: 12.03 kB / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.005639, allocations: 46.73 kB / 0.9855 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.005871, allocations: 80.7 kB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.006378, allocations: 304.8 kB / 0.9859 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.006399, allocations: 12.38 kB / 0.9859 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.006427, allocations: 20.38 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.0067, allocations: 206.3 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.006708, allocations: 192 / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006721, allocations: 4.375 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.006729, allocations: 7.938 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.006975, allocations: 143.8 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.007709, allocations: 0.8205 MB / 0.9871 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.007897, allocations: 149 kB / 0.9872 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.008014, allocations: 76.25 kB / 0.9873 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.008029, allocations: 11.92 kB / 0.9873 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.008295, allocations: 179.4 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.008296, allocations: 0 / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004684/0.008764, allocations: 253.5 kB / 0.9877 GB, free: 11.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.008821, allocations: 158.2 kB / 0.9879 GB, free: 11.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.008979, allocations: 225.7 kB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.009003, allocations: 33.7 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.009093, allocations: 156.3 kB / 0.9883 GB, free: 10.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.009121, allocations: 35.72 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.009189, allocations: 57.88 kB / 0.9884 GB, free: 10.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.009269, allocations: 326.8 kB / 0.9887 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.00947, allocations: 167.3 kB / 0.9888 GB, free: 10.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.009728, allocations: 288.1 kB / 0.9891 GB, free: 9.867 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.01011, allocations: 274.9 kB / 0.9894 GB, free: 9.559 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01011, allocations: 0 / 0.9894 GB, free: 9.559 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005001/0.01061, allocations: 448 kB / 0.9898 GB, free: 9.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.01066, allocations: 63.39 kB / 0.9899 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01067, allocations: 4.219 kB / 0.9899 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01068, allocations: 4 kB / 0.9899 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.01078, allocations: 27.97 kB / 0.9899 GB, free: 8.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01078, allocations: 0 / 0.9899 GB, free: 8.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.01098, allocations: 83.73 kB / 0.99 GB, free: 8.898 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.01101, allocations: 16 kB / 0.99 GB, free: 8.883 MB / 0.948 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.0001061/0.01111, allocations: 152.2 kB / 0.9901 GB, free: 8.727 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.01113, allocations: 23.8 kB / 0.9902 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.01117, allocations: 25.33 kB / 0.9902 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01117, allocations: 480 / 0.9902 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01118, allocations: 4 kB / 0.9902 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01118, allocations: 0 / 0.9902 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.01133, allocations: 220.5 kB / 0.9904 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01134, allocations: 0 / 0.9904 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.0114, allocations: 31.91 kB / 0.9904 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.0114, allocations: 4 kB / 0.9904 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01141, allocations: 15.91 kB / 0.9904 GB, free: 8.363 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01141, allocations: 4 kB / 0.9904 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01142, allocations: 0 / 0.9904 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.01175, allocations: 244.2 kB / 0.9907 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.01177, allocations: 15.89 kB / 0.9907 GB, free: 8.074 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01179, allocations: 4 kB / 0.9907 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.01184, allocations: 15.97 kB / 0.9907 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.01189, allocations: 15.98 kB / 0.9907 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.0119, allocations: 8 kB / 0.9907 GB, free: 8.031 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.453e-05/0.01199, allocations: 165.2 kB / 0.9909 GB, free: 7.867 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 0 / 0.9909 GB, free: 7.867 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001935/0.01218, allocations: 51.89 kB / 0.9909 GB, free: 7.816 MB / 0.948 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.0005038/0.01269, allocations: 0.7834 MB / 0.9917 GB, free: 6.988 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.01313, allocations: 373.9 kB / 0.9921 GB, free: 6.586 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01314, allocations: 0 / 0.9921 GB, free: 6.586 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.01327, allocations: 76.44 kB / 0.9921 GB, free: 6.512 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01351, allocations: 52.5 kB / 0.9922 GB, free: 6.461 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.01596, allocations: 2.816 MB / 0.9949 GB, free: 3.422 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.387e-05/0.01604, allocations: 136.7 kB / 0.9951 GB, free: 3.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.01612, allocations: 33.62 kB / 0.9951 GB, free: 3.234 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.01619, allocations: 76.41 kB / 0.9952 GB, free: 3.16 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01619, allocations: 0 / 0.9952 GB, free: 3.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.0329, allocations: 6.229 MB / 1.001 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.831, allocations: 8 kB / 1.001 GB, free: 13.16 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.983097621239722]