Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.237/2.237, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.88 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5861/0.5874, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00328/0.5907, allocations: 1.729 MB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.5922, allocations: 0.9008 MB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.5923, allocations: 0.9062 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.5925, allocations: 29.92 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.5929, allocations: 121.2 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.5933, allocations: 151 kB / 0.9526 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.5937, allocations: 243 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.5938, allocations: 37.88 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.594, allocations: 112.5 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.6051, allocations: 2.017 MB / 0.9549 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.6052, allocations: 18.12 kB / 0.9549 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.6053, allocations: 40.61 kB / 0.955 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.6054, allocations: 38.53 kB / 0.955 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.6055, allocations: 95.11 kB / 0.9551 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.6058, allocations: 208.6 kB / 0.9553 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6059, allocations: 1.375 kB / 0.9553 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6059, allocations: 0 / 0.9553 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6059, allocations: 0 / 0.9553 GB, free: 5.672 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.0007296/0.6066, allocations: 0.5583 MB / 0.9558 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6067, allocations: 12.59 kB / 0.9559 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.6067, allocations: 42.05 kB / 0.9559 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.6068, allocations: 19.25 kB / 0.9559 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.607, allocations: 242.5 kB / 0.9561 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.607, allocations: 11.47 kB / 0.9562 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.6071, allocations: 25.39 kB / 0.9562 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6072, allocations: 93.12 kB / 0.9563 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6073, allocations: 0 / 0.9563 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6073, allocations: 1.438 kB / 0.9563 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6073, allocations: 2.625 kB / 0.9563 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.6074, allocations: 51.12 kB / 0.9563 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.6082, allocations: 466.5 kB / 0.9568 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.6087, allocations: 144.4 kB / 0.9569 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.6087, allocations: 34.72 kB / 0.9569 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.6088, allocations: 1.375 kB / 0.9569 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.609, allocations: 110.8 kB / 0.957 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.609, allocations: 1.375 kB / 0.957 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003993/0.6094, allocations: 162.5 kB / 0.9572 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6095, allocations: 66.14 kB / 0.9573 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.6096, allocations: 194.7 kB / 0.9575 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.6097, allocations: 33.83 kB / 0.9575 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.6098, allocations: 130 kB / 0.9576 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.6098, allocations: 29.12 kB / 0.9576 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.6099, allocations: 56.2 kB / 0.9577 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.61, allocations: 327.1 kB / 0.958 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.6101, allocations: 34.39 kB / 0.958 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.6103, allocations: 135.4 kB / 0.9582 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.6105, allocations: 99.81 kB / 0.9583 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6105, allocations: 0 / 0.9583 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00029/0.6108, allocations: 152.7 kB / 0.9584 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6108, allocations: 7.406 kB / 0.9584 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6108, allocations: 2.219 kB / 0.9584 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.6108, allocations: 1.562 kB / 0.9584 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.6109, allocations: 23.42 kB / 0.9584 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6109, allocations: 2.125 kB / 0.9584 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.6112, allocations: 28.3 kB / 0.9585 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.6112, allocations: 9.156 kB / 0.9585 GB, free: 2.898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001281/0.6113, allocations: 144.5 kB / 0.9586 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.6114, allocations: 15.41 kB / 0.9586 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.6114, allocations: 18.09 kB / 0.9586 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6114, allocations: 5.984 kB / 0.9586 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6114, allocations: 0 / 0.9586 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6114, allocations: 1.062 kB / 0.9587 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.6121, allocations: 497 kB / 0.9591 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6122, allocations: 3.938 kB / 0.9591 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.6122, allocations: 7.359 kB / 0.9591 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6122, allocations: 1.125 kB / 0.9591 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6122, allocations: 9.406 kB / 0.9591 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6122, allocations: 4.75 kB / 0.9591 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6122, allocations: 4.719 kB / 0.9592 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.6125, allocations: 230.4 kB / 0.9594 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.6126, allocations: 93.17 kB / 0.9595 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.6126, allocations: 8.969 kB / 0.9595 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.6127, allocations: 11.58 kB / 0.9595 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.6128, allocations: 20.56 kB / 0.9595 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.6128, allocations: 9.625 kB / 0.9595 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001291/0.613, allocations: 142.1 kB / 0.9596 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.613, allocations: 0 / 0.9596 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003624/0.6134, allocations: 56.05 kB / 0.9597 GB, free: 1.852 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0006938/0.6141, allocations: 0.8256 MB / 0.9605 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.6143, allocations: 111.9 kB / 0.9606 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6143, allocations: 4.062 kB / 0.9606 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.6144, allocations: 57.02 kB / 0.9607 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.6149, allocations: 49.22 kB / 0.9607 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.6168, allocations: 1.884 MB / 0.9626 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.6171, allocations: 0.7291 MB / 0.9633 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.064e-05/0.6172, allocations: 26.98 kB / 0.9633 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.6173, allocations: 55.69 kB / 0.9633 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.6173, allocations: 1.125 kB / 0.9633 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.6417, allocations: 5.533 MB / 0.9688 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.325/9.966, allocations: 7.688 kB / 0.9688 GB, free: 11.87 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches