Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.0008171/0.0008171, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005612/0.005612, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.593/2.593, allocations: 443.4 MB / 0.7176 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12.34 kB / 0.8797 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3177, allocations: 155.2 MB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009345/0.3187, allocations: 431.7 kB / 1.032 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.3197, allocations: 0.8429 MB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.3198, allocations: 0 / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.3198, allocations: 7.938 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.3199, allocations: 3.938 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.32, allocations: 15.98 kB / 1.033 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.3201, allocations: 59.78 kB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.3202, allocations: 20.55 kB / 1.033 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.3203, allocations: 19.86 kB / 1.033 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.3204, allocations: 23.86 kB / 1.033 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3204, allocations: 0 / 1.033 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3204, allocations: 4 kB / 1.033 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3205, allocations: 7.984 kB / 1.033 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3205, allocations: 53.56 kB / 1.033 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.3206, allocations: 59.98 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3206, allocations: 0 / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3206, allocations: 0 / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.3206, allocations: 0 / 1.033 GB, free: 2.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004045/0.321, allocations: 359.3 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3211, allocations: 8.031 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.3211, allocations: 38.73 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.3212, allocations: 8.844 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.3214, allocations: 204.2 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3214, allocations: 4.312 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.3215, allocations: 4.375 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3216, allocations: 58.23 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3216, allocations: 3.938 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3216, allocations: 7.938 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3216, allocations: 3.938 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3217, allocations: 31.98 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3222, allocations: 308.7 kB / 1.034 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.3225, allocations: 78.53 kB / 1.034 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.3225, allocations: 29 kB / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3225, allocations: 0 / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3226, allocations: 30.56 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3226, allocations: 0 / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002512/0.3228, allocations: 77.61 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.3229, allocations: 55.41 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.323, allocations: 125.8 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.323, allocations: 25.7 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.323, allocations: 92.05 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3231, allocations: 15.83 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.3231, allocations: 9.719 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3232, allocations: 322.8 kB / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.3233, allocations: 23.98 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.3233, allocations: 29.7 kB / 1.035 GB, free: 500 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.3234, allocations: 37.11 kB / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3234, allocations: 0 / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.3236, allocations: 69.66 kB / 1.035 GB, free: 384 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3236, allocations: 4 kB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3236, allocations: 3.984 kB / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3236, allocations: 4 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.3237, allocations: 4 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3237, allocations: 0 / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.3238, allocations: 19.89 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3238, allocations: 4 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.575e-05/0.3239, allocations: 125.7 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3239, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.3239, allocations: 7.906 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3239, allocations: 0 / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3239, allocations: 3.938 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3239, allocations: 3.984 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.3241, allocations: 177.8 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3241, allocations: 4 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3242, allocations: 11.92 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3242, allocations: 4 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3242, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3242, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3242, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.3244, allocations: 167.3 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.3244, allocations: 85.02 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3245, allocations: 4 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.3245, allocations: 7.984 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.3246, allocations: 11.98 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3246, allocations: 0 / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.3247, allocations: 95.27 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 0 / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002127/0.3249, allocations: 8 kB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004734/0.3254, allocations: 0.6968 MB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.3255, allocations: 39.97 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3255, allocations: 4 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.3256, allocations: 19.94 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3259, allocations: 5.625 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3272, allocations: 1.376 MB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3274, allocations: 0.6848 MB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.3275, allocations: 7.984 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3275, allocations: 15.44 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3276, allocations: 4 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.3381, allocations: 1.469 MB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/0.3385, allocations: 197.4 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.983, allocations: 0 / 1.04 GB, free: 10.95 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches