Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.006895/0.006895, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001607/0.001607, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 71.89 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3036, allocations: 151.6 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002244/0.3059, allocations: 0.7161 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3079, allocations: 1.241 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.308, allocations: 4 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3082, allocations: 11.88 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.3083, allocations: 19.84 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.3091, allocations: 241.6 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3094, allocations: 263.6 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.3096, allocations: 38.8 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3098, allocations: 103.8 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3099, allocations: 79.77 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.31, allocations: 20 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3101, allocations: 43.97 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.3102, allocations: 35.86 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3103, allocations: 87.62 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.3107, allocations: 231.3 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3107, allocations: 4 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3107, allocations: 0 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3107, allocations: 8 kB / 1.169 GB, free: 4.293 MB / 0.92 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.0006343/0.3113, allocations: 499.2 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3114, allocations: 8.031 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.3115, allocations: 46.73 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.3115, allocations: 20.75 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.3121, allocations: 265.8 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.3121, allocations: 16.33 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.3122, allocations: 24.38 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3124, allocations: 129.3 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3124, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3124, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3125, allocations: 7.984 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.3126, allocations: 47.91 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.3132, allocations: 0.6689 MB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.3133, allocations: 37.16 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.3133, allocations: 17.84 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3134, allocations: 11.86 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3136, allocations: 89 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3136, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002696/0.3139, allocations: 101.5 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3139, allocations: 85.11 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3141, allocations: 166.8 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3141, allocations: 29.7 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.3142, allocations: 127.8 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3143, allocations: 7.891 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3144, allocations: 61.69 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.3145, allocations: 318.8 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3146, allocations: 55.95 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3148, allocations: 124.5 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.315, allocations: 174.2 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.315, allocations: 3.938 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004249/0.3154, allocations: 268.7 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.3155, allocations: 59.66 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3155, allocations: 11.98 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3155, allocations: 4 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.169e-05/0.3155, allocations: 3.938 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3155, allocations: 4 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.3159, allocations: 75.27 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.316, allocations: 15.98 kB / 1.173 GB, free: 384 kB / 0.92 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.0001195/0.3161, allocations: 147.8 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.3161, allocations: 11.84 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.3162, allocations: 8.25 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3162, allocations: 4.375 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3162, allocations: 0 / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3162, allocations: 7.984 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3164, allocations: 205.6 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3164, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.3164, allocations: 12.06 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3164, allocations: 7.938 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3164, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3164, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3164, allocations: 4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3166, allocations: 121.7 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.3166, allocations: 85.02 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3166, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.3167, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3167, allocations: 7.984 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3167, allocations: 4 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.126e-05/0.3168, allocations: 118.1 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000272/0.3171, allocations: 47.84 kB / 1.173 GB, free: 15.49 MB / 0.9356 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.0004107/0.3175, allocations: 0.6639 MB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3178, allocations: 230.7 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3179, allocations: 4 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.3179, allocations: 27.86 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3181, allocations: 20.48 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3202, allocations: 1.912 MB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3205, allocations: 0.708 MB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.3205, allocations: 12.88 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3206, allocations: 43.42 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3206, allocations: 0 / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.3411, allocations: 3.631 MB / 1.18 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.147, allocations: 6.812 kB / 1.18 GB, free: 8.184 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches