Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001393/0.001393, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001487/0.001487, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 71.2 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003868/0.3912, allocations: 1.762 MB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.393, allocations: 0.9397 MB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.3931, allocations: 11.88 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3933, allocations: 23.72 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.3938, allocations: 127.4 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.3942, allocations: 157.4 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3945, allocations: 231.5 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3946, allocations: 29.89 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3948, allocations: 115.6 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01695/0.4118, allocations: 2.032 MB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.4118, allocations: 20 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.412, allocations: 39.94 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.4121, allocations: 43.83 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.4122, allocations: 87.56 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.4126, allocations: 223.1 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4126, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.577e-06/0.4127, allocations: 4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.4127, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 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.0009634/0.4136, allocations: 0.5487 MB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4137, allocations: 11.98 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.4137, allocations: 50.73 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.4138, allocations: 28.78 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4141, allocations: 251.3 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4142, allocations: 4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.4142, allocations: 16 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4144, allocations: 85.66 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4144, allocations: 4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4144, allocations: 3.984 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4144, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.4146, allocations: 51.97 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.4155, allocations: 472.3 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.416, allocations: 130.6 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.416, allocations: 36.84 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.416, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.4163, allocations: 107.3 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.4163, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003906/0.4167, allocations: 173.6 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.4168, allocations: 55.34 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.417, allocations: 194.8 kB / 1.329 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.417, allocations: 33.7 kB / 1.329 GB, free: 11.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4172, allocations: 120.5 kB / 1.329 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4172, allocations: 39.72 kB / 1.329 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4173, allocations: 53.69 kB / 1.329 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4175, allocations: 334.8 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.4175, allocations: 35.98 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.4178, allocations: 127.6 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4181, allocations: 100.1 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4181, allocations: 3.938 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002878/0.4184, allocations: 160.4 kB / 1.33 GB, free: 10.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4184, allocations: 4 kB / 1.33 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4184, allocations: 4 kB / 1.33 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4184, allocations: 0 / 1.33 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.4185, allocations: 20.06 kB / 1.33 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4185, allocations: 4 kB / 1.33 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.4188, allocations: 31.86 kB / 1.33 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4188, allocations: 4 kB / 1.33 GB, free: 10.45 MB / 1.029 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.0001493/0.4189, allocations: 139.5 kB / 1.33 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.419, allocations: 15.91 kB / 1.33 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.419, allocations: 21.86 kB / 1.33 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.419, allocations: 3.938 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.419, allocations: 8 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.419, allocations: 4.031 kB / 1.33 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.4198, allocations: 492.8 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4198, allocations: 0 / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.4198, allocations: 8 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4198, allocations: 4 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4199, allocations: 3.938 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4199, allocations: 4 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4199, allocations: 0 / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4201, allocations: 235.2 kB / 1.331 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.4202, allocations: 93.02 kB / 1.331 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.4202, allocations: 11.92 kB / 1.331 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4204, allocations: 7.984 kB / 1.331 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.4204, allocations: 23.98 kB / 1.331 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.4205, allocations: 11.98 kB / 1.331 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001423/0.4206, allocations: 140.2 kB / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0 / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003275/0.4209, allocations: 47.94 kB / 1.331 GB, free: 9.094 MB / 1.029 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.0009528/0.4219, allocations: 0.8394 MB / 1.332 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.4222, allocations: 103.8 kB / 1.332 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4222, allocations: 0 / 1.332 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.4223, allocations: 47.92 kB / 1.332 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.4227, allocations: 61.42 kB / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4251, allocations: 1.898 MB / 1.334 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4255, allocations: 0.7242 MB / 1.334 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.4256, allocations: 21.53 kB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4257, allocations: 51.42 kB / 1.335 GB, free: 5.223 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4257, allocations: 4 kB / 1.335 GB, free: 5.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.4591, allocations: 5.624 MB / 1.34 GB, free: 15.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.9, allocations: 7.797 kB / 1.34 GB, free: 15.77 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: 15.65871157986112]