Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001386/0.001386, allocations: 113.1 kB / 17.54 MB, free: 4.641 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.001405/0.001405, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] 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.355/2.355, allocations: 443.5 MB / 0.7304 GB, free: 13.87 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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2721, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002637/0.2748, allocations: 1.535 MB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2761, allocations: 0.7723 MB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.2761, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.2762, allocations: 3.938 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.2762, allocations: 15.84 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.2768, allocations: 135.5 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2769, allocations: 91.77 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.518e-05/0.277, allocations: 8.281 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.2771, allocations: 47.83 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.2772, allocations: 39.84 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2772, allocations: 8 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2774, allocations: 111.9 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.2774, allocations: 23.86 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.2775, allocations: 35.8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.2777, allocations: 163.5 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2777, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2777, allocations: 3.938 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2777, allocations: 0 / 1.218 GB, free: 12.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006193/0.2783, allocations: 462.3 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2784, allocations: 8.031 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.2784, allocations: 34.75 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2785, allocations: 12.89 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2786, allocations: 184.2 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2786, allocations: 8.375 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2786, allocations: 8.375 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2789, allocations: 89.69 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.2789, allocations: 0 / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2789, allocations: 0 / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2789, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.279, allocations: 47.97 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.2796, allocations: 320.7 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2797, allocations: 58.55 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2798, allocations: 41 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2799, allocations: 7.969 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.2801, allocations: 99.39 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2801, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004853/0.2806, allocations: 185.5 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.2806, allocations: 51.41 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2807, allocations: 134.2 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2807, allocations: 25.7 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2808, allocations: 92.38 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2808, allocations: 31.78 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.2809, allocations: 29.66 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.281, allocations: 326.8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.2811, allocations: 27.98 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2812, allocations: 73.98 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2814, allocations: 113.8 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2814, allocations: 4 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.2817, allocations: 133.5 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2817, allocations: 8 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2817, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2817, allocations: 4 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.2818, allocations: 19.92 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2818, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.2819, allocations: 16.09 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2819, allocations: 8 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.86e-05/0.282, allocations: 125.7 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.282, allocations: 7.938 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.2821, allocations: 12.38 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2821, allocations: 0 / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2821, allocations: 0 / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2821, allocations: 3.938 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.2826, allocations: 438.3 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2826, allocations: 0 / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.2827, allocations: 7.984 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2827, allocations: 0 / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2827, allocations: 8 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2827, allocations: 0 / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.2827, allocations: 3.938 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.2831, allocations: 247.4 kB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2831, allocations: 89.19 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2831, allocations: 3.984 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.2832, allocations: 11.94 kB / 1.222 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2833, allocations: 11.92 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2833, allocations: 8 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.2834, allocations: 95.14 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2834, allocations: 0 / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002987/0.2837, allocations: 51.92 kB / 1.222 GB, free: 8.848 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009001/0.2846, allocations: 0.8392 MB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2848, allocations: 83.89 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2848, allocations: 0 / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2849, allocations: 47.94 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2852, allocations: 15.94 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2869, allocations: 1.604 MB / 1.225 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2873, allocations: 0.6923 MB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.2873, allocations: 8 kB / 1.225 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.2873, allocations: 23.42 kB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.2873, allocations: 0 / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.3122, allocations: 2.986 MB / 1.228 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.488, allocations: 9.75 kB / 1.228 GB, free: 2.496 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.solarAltitude in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.736323270997673]