Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003125/0.003125, allocations: 218.4 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 69.27 kB / 1.117 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002325/0.3388, allocations: 1.232 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.3397, allocations: 386.9 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3397, allocations: 7.875 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.3397, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.767e-05/0.3397, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.3403, allocations: 111.6 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.671e-05/0.3403, allocations: 19.92 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.3404, allocations: 0 / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.3404, allocations: 4 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.3404, allocations: 11.98 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3404, allocations: 0 / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.3407, allocations: 135.7 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3407, allocations: 7.938 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.3408, allocations: 4 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.341, allocations: 87.28 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.341, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.341, allocations: 4 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.341, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004866/0.3414, allocations: 293.7 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3415, allocations: 8.031 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.3415, allocations: 34.7 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3416, allocations: 4.938 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3417, allocations: 118.4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3417, allocations: 8.375 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3417, allocations: 8.375 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3418, allocations: 38.25 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3418, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.3418, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3418, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.432e-05/0.3419, allocations: 11.98 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3422, allocations: 216 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.3423, allocations: 34.52 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.3423, allocations: 24.92 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.3424, allocations: 0 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3425, allocations: 51.41 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3425, allocations: 3.938 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002111/0.3427, allocations: 81.56 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3428, allocations: 55.41 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.3429, allocations: 97.84 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3429, allocations: 29.7 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.3429, allocations: 80.14 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.3429, allocations: 7.953 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.343, allocations: 21.72 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3431, allocations: 322.8 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3431, allocations: 8.125 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.3432, allocations: 35.42 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.611e-05/0.3432, allocations: 47.38 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3433, allocations: 3.938 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.3434, allocations: 85.5 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3434, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3434, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3434, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.3435, allocations: 8 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3435, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.3435, allocations: 4 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3435, allocations: 4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.268e-05/0.3436, allocations: 121.7 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.3436, allocations: 8.062 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.3436, allocations: 3.75 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3436, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3436, allocations: 3.938 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3436, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3439, allocations: 273.9 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3439, allocations: 0 / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.3439, allocations: 8 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3439, allocations: 0 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3439, allocations: 4 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3439, allocations: 4 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3439, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3441, allocations: 163.4 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3441, allocations: 11.94 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.3442, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3442, allocations: 3.984 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3442, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.3442, allocations: 79.28 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003114/0.3445, allocations: 31.88 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,y,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * 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.0007267/0.3453, allocations: 0.7719 MB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3454, allocations: 27.98 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3454, allocations: 3.938 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.3454, allocations: 16.11 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3456, allocations: 6.5 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3467, allocations: 1.254 MB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.347, allocations: 0.6729 MB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.347, allocations: 7.984 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3471, allocations: 15.44 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3471, allocations: 0 / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3762, allocations: 2.02 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.33, allocations: 8.672 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 18.676984142999572]