Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.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.001794/0.001794, allocations: 105.8 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.001997/0.001997, 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.568/2.568, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] 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.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.83 kB / 1.056 GB, free: 2.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00279/0.3178, allocations: 1.552 MB / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3188, allocations: 0.5851 MB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3188, allocations: 0 / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.559e-05/0.3189, allocations: 11.86 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.319, allocations: 19.81 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.3194, allocations: 99.69 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3195, allocations: 95.7 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3196, allocations: 16.2 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3197, allocations: 51.78 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.3198, allocations: 47.81 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3199, allocations: 8 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.32, allocations: 83.91 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.32, allocations: 23.91 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.3201, allocations: 43.73 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3203, allocations: 143.7 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3203, allocations: 3.984 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3203, allocations: 0 / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3203, allocations: 0 / 1.216 GB, free: 14.65 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008286/0.3212, allocations: 452.6 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3212, allocations: 8.031 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.3212, allocations: 42.73 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.3213, allocations: 16.84 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3215, allocations: 194.2 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3215, allocations: 4.375 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3215, allocations: 8.375 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.3218, allocations: 101.7 kB / 1.216 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3218, allocations: 3.938 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3218, allocations: 7.984 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.3219, allocations: 0 / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.3222, allocations: 91.92 kB / 1.216 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.3228, allocations: 352.6 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3231, allocations: 86.52 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3233, allocations: 56.98 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3233, allocations: 3.938 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.3236, allocations: 123.3 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3236, allocations: 0 / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006307/0.3243, allocations: 209.4 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3243, allocations: 51.41 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3244, allocations: 137.8 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3245, allocations: 33.7 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.3246, allocations: 104 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3246, allocations: 27.91 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3246, allocations: 21.72 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3248, allocations: 326.8 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.325, allocations: 55.95 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3251, allocations: 63.94 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3255, allocations: 138.5 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3255, allocations: 0 / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000462/0.326, allocations: 203.1 kB / 1.218 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.326, allocations: 41.62 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.326, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.326, allocations: 4 kB / 1.218 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3262, allocations: 16.45 kB / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3262, allocations: 0 / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3263, allocations: 15.92 kB / 1.218 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3263, allocations: 15.92 kB / 1.218 GB, free: 11.44 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.000111/0.3264, allocations: 125.7 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.3265, allocations: 15.91 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.3265, allocations: 12.7 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3265, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3265, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3265, allocations: 3.984 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3267, allocations: 205.5 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3267, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3268, allocations: 15.98 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3268, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3268, allocations: 4 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3268, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.3268, allocations: 7.984 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.3273, allocations: 176.9 kB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3273, allocations: 88.98 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3274, allocations: 8 kB / 1.219 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3275, allocations: 15.98 kB / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3275, allocations: 11.98 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3275, allocations: 7.984 kB / 1.219 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.3276, allocations: 113.2 kB / 1.219 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 1.219 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002345/0.3279, allocations: 32 kB / 1.219 GB, free: 10.51 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0008277/0.3287, allocations: 0.7411 MB / 1.22 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.3292, allocations: 183.2 kB / 1.22 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3292, allocations: 4 kB / 1.22 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.3294, allocations: 59.94 kB / 1.22 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3296, allocations: 11.86 kB / 1.22 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.332, allocations: 1.722 MB / 1.222 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3323, allocations: 0.6924 MB / 1.223 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.408e-05/0.3324, allocations: 15.98 kB / 1.223 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.3324, allocations: 27.42 kB / 1.223 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3324, allocations: 0 / 1.223 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.3576, allocations: 2.769 MB / 1.225 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.633, allocations: 17.94 kB / 1.225 GB, free: 4.219 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.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: 14.390963305253536]