Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 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.001294/0.001294, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 65.72 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2458, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002049/0.2479, allocations: 1.231 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.2487, allocations: 464.3 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.2487, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.2488, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.2488, allocations: 7.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.2492, allocations: 107.6 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.2493, allocations: 23.92 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.2493, allocations: 3.984 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.2494, allocations: 11.98 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.64e-05/0.2494, allocations: 11.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2494, allocations: 8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2496, allocations: 99.84 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2496, allocations: 7.984 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2497, allocations: 7.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2498, allocations: 103.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2498, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2498, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2499, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 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.0004343/0.2503, allocations: 389.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2503, allocations: 12.03 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.2504, allocations: 34.69 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.2504, allocations: 8.875 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.2505, allocations: 164.3 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2505, allocations: 8.375 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.2506, allocations: 4.359 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.2507, allocations: 38.25 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2507, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.2507, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.2507, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.2507, allocations: 12 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.251, allocations: 252.9 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.2511, allocations: 34.52 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.2511, allocations: 20.94 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.2512, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.2513, allocations: 63.39 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 5.36e-06/0.2513, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001782/0.2515, allocations: 77.72 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2515, allocations: 51.41 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.2516, allocations: 109.9 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2516, allocations: 29.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.2517, allocations: 84.14 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2517, allocations: 19.83 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2517, allocations: 21.72 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2519, allocations: 310.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.2519, allocations: 11.98 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.2519, allocations: 35.42 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.252, allocations: 55.36 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.252, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001048/0.2521, allocations: 81.45 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2521, allocations: 4 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2521, allocations: 3.938 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2521, allocations: 4 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.2522, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.2522, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.2522, allocations: 4.062 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.2522, allocations: 8 kB / 1.068 GB, free: 9.969 MB / 0.8262 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_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 7.166e-05/0.2523, allocations: 117.7 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.2523, allocations: 7.891 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.2524, allocations: 7.969 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2524, allocations: 7.938 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2524, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2524, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2526, allocations: 302.6 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2526, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.2527, allocations: 4 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2527, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2527, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2527, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2527, allocations: 3.938 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2528, allocations: 167.8 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2529, allocations: 89.02 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2529, allocations: 4 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.253, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.253, allocations: 11.98 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.253, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.253, allocations: 79.28 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.253, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002552/0.2533, allocations: 39.92 kB / 1.069 GB, free: 9.043 MB / 0.8262 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,$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.0006548/0.254, allocations: 0.7778 MB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.2541, allocations: 35.86 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2541, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2541, allocations: 28.09 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.2543, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.2553, allocations: 1.276 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2556, allocations: 0.6807 MB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.2556, allocations: 7.984 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.2556, allocations: 11.44 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2556, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.832/2.088, allocations: 2.048 MB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/12.55, allocations: 13.38 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y