Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001636/0.001636, 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.001269/0.001269, allocations: 193.7 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.489/2.489, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5941/0.5955, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002959/0.5984, allocations: 1.749 MB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.5999, allocations: 0.8968 MB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.6, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.6001, allocations: 31.66 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.6005, allocations: 115.5 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.6008, allocations: 155.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.6011, allocations: 243.3 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.6012, allocations: 45.66 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.6014, allocations: 107.7 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.6131, allocations: 1.966 MB / 1.023 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.6132, allocations: 20 kB / 1.023 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.6134, allocations: 32 kB / 1.023 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.6135, allocations: 43.84 kB / 1.023 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.6137, allocations: 95.53 kB / 1.023 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.6141, allocations: 227.2 kB / 1.023 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6142, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6142, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.6142, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.7794 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.001021/0.6152, allocations: 0.545 MB / 1.024 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6153, allocations: 8.031 kB / 1.024 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.6153, allocations: 42.73 kB / 1.024 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.6154, allocations: 28.75 kB / 1.024 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.6157, allocations: 243.2 kB / 1.024 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6158, allocations: 11.98 kB / 1.024 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.6158, allocations: 16 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.616, allocations: 116.7 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6161, allocations: 0 / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6161, allocations: 0 / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6161, allocations: 4 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.6162, allocations: 55.91 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.6171, allocations: 0.5395 MB / 1.025 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.6173, allocations: 93.12 kB / 1.025 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.6174, allocations: 49.7 kB / 1.025 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.6174, allocations: 8.062 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.6177, allocations: 128 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.6177, allocations: 0 / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003903/0.6181, allocations: 163.1 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.6183, allocations: 85.14 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.6185, allocations: 206.4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.6185, allocations: 33.7 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6187, allocations: 120.4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.6187, allocations: 35.64 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6188, allocations: 53.67 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6189, allocations: 330.8 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.619, allocations: 39.98 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.6193, allocations: 140.5 kB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.6194, allocations: 107.2 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6195, allocations: 0 / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002822/0.6197, allocations: 169.2 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6198, allocations: 4 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6198, allocations: 4.156 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6198, allocations: 4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.6199, allocations: 19.98 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6199, allocations: 7.938 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.6202, allocations: 27.83 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.6202, allocations: 4 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001358/0.6203, allocations: 147.6 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.6204, allocations: 15.81 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.6204, allocations: 21.53 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6204, allocations: 0 / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6204, allocations: 4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6204, allocations: 7.922 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.621, allocations: 455.8 kB / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6211, allocations: 4 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.6211, allocations: 7.922 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6211, allocations: 8 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6211, allocations: 7.938 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6211, allocations: 4 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6211, allocations: 0 / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.6214, allocations: 228.1 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.6214, allocations: 88.92 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.6215, allocations: 11.88 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6216, allocations: 15.98 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.6217, allocations: 19.97 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.6217, allocations: 12 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001269/0.6219, allocations: 135.2 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6219, allocations: 3.938 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003207/0.6222, allocations: 51.92 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0007613/0.623, allocations: 0.8386 MB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.6232, allocations: 107.6 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6232, allocations: 0 / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.6233, allocations: 51.92 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.6238, allocations: 70.08 kB / 1.029 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.6259, allocations: 1.905 MB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6262, allocations: 0.7242 MB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.532e-05/0.6263, allocations: 21.53 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.6264, allocations: 51.42 kB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6264, allocations: 0 / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.6706, allocations: 5.493 MB / 1.037 GB, free: 14.97 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.448, allocations: 13.11 kB / 1.037 GB, free: 14.96 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches