Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 102.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 443.5 MB / 0.7287 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 176] 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 68.03 kB / 1.056 GB, free: 2.621 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3895, allocations: 160.7 MB / 1.213 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003363/0.3929, allocations: 1.747 MB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3944, allocations: 0.9124 MB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.3945, allocations: 7.938 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3947, allocations: 19.73 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.395, allocations: 123.4 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3954, allocations: 155.3 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.3957, allocations: 247.3 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3959, allocations: 25.95 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.396, allocations: 115.6 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01321/0.4092, allocations: 1.702 MB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.4093, allocations: 16 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4095, allocations: 39.98 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.4096, allocations: 47.83 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.4097, allocations: 91.52 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.4103, allocations: 215.2 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4103, allocations: 3.938 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4103, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4103, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 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.000983/0.4113, allocations: 0.5564 MB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.4114, allocations: 15.97 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.209e-05/0.4114, allocations: 38.73 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.4115, allocations: 20.84 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.412, allocations: 248.3 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.4121, allocations: 8 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.4121, allocations: 16 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.4123, allocations: 93.59 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4123, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4123, allocations: 3.984 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4123, allocations: 11.98 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.4125, allocations: 55.92 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.4134, allocations: 460.4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.414, allocations: 126.7 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.4141, allocations: 32.84 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.4141, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.4144, allocations: 123.3 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.4144, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0005652/0.415, allocations: 165 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.415, allocations: 59.41 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.4154, allocations: 198.5 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.4154, allocations: 33.7 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.4156, allocations: 116.5 kB / 1.22 GB, free: 10 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.4156, allocations: 39.72 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4158, allocations: 57.69 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.416, allocations: 330.8 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4161, allocations: 39.92 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.4164, allocations: 123.6 kB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.4167, allocations: 102.9 kB / 1.221 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4167, allocations: 0 / 1.221 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003141/0.417, allocations: 161.3 kB / 1.221 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.417, allocations: 4 kB / 1.221 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.417, allocations: 4.125 kB / 1.221 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4171, allocations: 4 kB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.4171, allocations: 20 kB / 1.221 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4172, allocations: 7.938 kB / 1.221 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.4174, allocations: 27.86 kB / 1.221 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4174, allocations: 8 kB / 1.221 GB, free: 9.027 MB / 0.9669 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.0001494/0.4176, allocations: 131.5 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.4176, allocations: 15.91 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.4176, allocations: 33.8 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4177, allocations: 4 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4177, allocations: 0 / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4177, allocations: 0 / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/0.4184, allocations: 0.4903 MB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4184, allocations: 0 / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.4185, allocations: 7.938 kB / 1.222 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4185, allocations: 0 / 1.222 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4185, allocations: 11.94 kB / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4185, allocations: 0 / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4185, allocations: 4 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.4188, allocations: 227.2 kB / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.4189, allocations: 93.02 kB / 1.222 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.4189, allocations: 11.92 kB / 1.222 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4191, allocations: 12.03 kB / 1.222 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.4191, allocations: 31.89 kB / 1.222 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.4192, allocations: 4 kB / 1.222 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001406/0.4193, allocations: 143.2 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4193, allocations: 0 / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003282/0.4196, allocations: 51.89 kB / 1.223 GB, free: 7.664 MB / 0.9669 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.000968/0.4206, allocations: 0.8357 MB / 1.223 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.4209, allocations: 95.84 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4209, allocations: 0 / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.421, allocations: 51.91 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4214, allocations: 48.44 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.4241, allocations: 1.92 MB / 1.225 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4245, allocations: 0.7242 MB / 1.226 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.4246, allocations: 29.5 kB / 1.226 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4247, allocations: 55.42 kB / 1.226 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.4247, allocations: 0 / 1.226 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.4586, allocations: 5.64 MB / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.845, allocations: 0 / 1.232 GB, free: 14.32 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.137834629043937]