Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.001249/0.001248, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001468/0.001468, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.792, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001246/0.7933, allocations: 0.9255 MB / 0.982 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.794, allocations: 373.4 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.7941, allocations: 3.938 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.7941, allocations: 0 / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.7941, allocations: 0 / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.7946, allocations: 75.8 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.7946, allocations: 15.98 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.7947, allocations: 7.984 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.7947, allocations: 7.984 kB / 0.9825 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.7947, allocations: 11.94 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.7947, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.7949, allocations: 83.84 kB / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.7949, allocations: 7.938 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.795, allocations: 29.7 kB / 0.9826 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.7951, allocations: 55.91 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7951, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7951, allocations: 0 / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.7951, allocations: 4 kB / 0.9827 GB, free: 4.648 MB / 0.7325 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.0003956/0.7955, allocations: 343.3 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7956, allocations: 12.03 kB / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.7956, allocations: 36.75 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.7957, allocations: 0 / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.7958, allocations: 159.1 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7958, allocations: 7.984 kB / 0.9832 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.7959, allocations: 4 kB / 0.9832 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.796, allocations: 53.56 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.796, allocations: 0 / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.796, allocations: 0 / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.796, allocations: 0 / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.796, allocations: 8 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.7963, allocations: 248.9 kB / 0.9835 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.7964, allocations: 38.5 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.7965, allocations: 28.89 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.7965, allocations: 0 / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.7966, allocations: 55.34 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.7966, allocations: 0 / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001857/0.7968, allocations: 73.67 kB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7969, allocations: 59.34 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.7969, allocations: 105.8 kB / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.797, allocations: 25.7 kB / 0.9839 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.797, allocations: 80.14 kB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.797, allocations: 19.75 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.797, allocations: 0 / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.7971, allocations: 314.8 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.7972, allocations: 7.984 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.7972, allocations: 35.44 kB / 0.9843 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.7972, allocations: 15.98 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7973, allocations: 0 / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.7974, allocations: 73.52 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7974, allocations: 9.406 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7974, allocations: 0 / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.7974, allocations: 0 / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.7975, allocations: 11.98 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7975, allocations: 8.312 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.7975, allocations: 4 kB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7975, allocations: 8 kB / 0.9844 GB, free: 2.602 MB / 0.7325 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.869e-05/0.7976, allocations: 105.8 kB / 0.9845 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.7976, allocations: 16.14 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.7977, allocations: 11.44 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.7977, allocations: 3.984 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7977, allocations: 0 / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7977, allocations: 7.984 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.7979, allocations: 294.6 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7979, allocations: 0 / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.7979, allocations: 4 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.798, allocations: 0 / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.798, allocations: 7.984 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.798, allocations: 4 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.798, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.7981, allocations: 159.5 kB / 0.985 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.7982, allocations: 92.91 kB / 0.9851 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.7982, allocations: 3.984 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.7982, allocations: 0 / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.7983, allocations: 4 kB / 0.9851 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.7983, allocations: 0 / 0.9851 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.7983, allocations: 79.28 kB / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7983, allocations: 0 / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002717/0.7986, allocations: 31.98 kB / 0.9852 GB, free: 1.695 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000625/0.7992, allocations: 0.7806 MB / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.565e-05/0.7993, allocations: 31.92 kB / 0.986 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7993, allocations: 4.125 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.7994, allocations: 12 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.7996, allocations: 2.812 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.8002, allocations: 413 kB / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.8004, allocations: 0.677 MB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.8004, allocations: 4 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.8005, allocations: 7.438 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8005, allocations: 0 / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.8146, allocations: 1.748 MB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.815, allocations: 248.3 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.701, allocations: 1.562 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat does not exist to compare? outputFormat=mat