Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 183 kB / 16.92 MB, free: 6.926 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 462.6 MB / 0.737 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 7.719 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 159.6 MB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001539/0.2922, allocations: 0.9315 MB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.2931, allocations: 374.9 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.2931, allocations: 0 / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.2932, allocations: 3.938 kB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.2932, allocations: 0 / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.2937, allocations: 83.84 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.2938, allocations: 15.92 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.2938, allocations: 4 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.2939, allocations: 4 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.2939, allocations: 11.92 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2939, allocations: 0 / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.2941, allocations: 87.91 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.2942, allocations: 7.938 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2942, allocations: 37.62 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2944, allocations: 55.91 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2944, allocations: 8 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2944, allocations: 0 / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2944, allocations: 0 / 1.061 GB, free: 3.414 MB / 0.8106 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.0004621/0.2949, allocations: 369.2 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2949, allocations: 8.031 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.295, allocations: 0.9375 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2951, allocations: 168.6 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2951, allocations: 384 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2951, allocations: 4.312 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2953, allocations: 50.23 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2953, allocations: 192 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2953, allocations: 3.938 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2953, allocations: 0 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.2953, allocations: 15.86 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.2955, allocations: 153.7 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.2956, allocations: 30.61 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.2956, allocations: 12.86 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.2957, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.2958, allocations: 55.48 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2958, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002089/0.296, allocations: 73.47 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2961, allocations: 55.39 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.2962, allocations: 101.9 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2962, allocations: 25.7 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.2962, allocations: 80.14 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2963, allocations: 11.91 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2963, allocations: 13.7 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2964, allocations: 314.8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.2965, allocations: 8 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.2965, allocations: 35.55 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.2966, allocations: 47.38 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2966, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001721/0.2968, allocations: 65.56 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2968, allocations: 15.92 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2968, allocations: 4.094 kB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2968, allocations: 0 / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.2969, allocations: 8 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2969, allocations: 160 / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.297, allocations: 7.906 kB / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.297, allocations: 7.984 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.07e-05/0.2971, allocations: 113.8 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.2971, allocations: 3.938 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2971, allocations: 15.42 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2971, allocations: 4 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2971, allocations: 0 / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2971, allocations: 0 / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2973, allocations: 157.6 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2973, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.2973, allocations: 7.938 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2973, allocations: 3.938 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.2973, allocations: 3.938 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2973, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2973, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.2975, allocations: 89.33 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.2975, allocations: 77.11 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2975, allocations: 7.938 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.2976, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.2976, allocations: 3.984 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2976, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.2976, allocations: 83.22 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 96 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002431/0.2979, allocations: 28 kB / 1.063 GB, free: 0.7578 MB / 0.8106 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.000326/0.2982, allocations: 152.9 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.2983, allocations: 23.98 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2984, allocations: 3.938 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.2984, allocations: 20.17 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.2985, allocations: 4.75 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.2988, allocations: 132.3 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2991, allocations: 0.677 MB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2991, allocations: 7.438 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2991, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003068/0.3022, allocations: 1.143 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches