Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",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.001555/0.001555, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001537/0.001538, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.56/2.56, allocations: 223.2 MB / 239.9 MB, free: 5.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.47/4.47, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006754/0.0006755, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479/1.48, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007606/1.488, allocations: 3.556 MB / 0.9843 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005471/1.493, allocations: 2.051 MB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/1.494, allocations: 7.938 kB / 0.9864 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003744/1.494, allocations: 67.59 kB / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000989/1.495, allocations: 179.4 kB / 0.9866 GB, free: 424 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.497, allocations: 271.4 kB / 0.9868 GB, free: 152 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007795/1.497, allocations: 319.2 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/1.499, allocations: 0.6072 MB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/1.5, allocations: 155.5 kB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/1.5, allocations: 183.3 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/1.5, allocations: 20 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006042/1.501, allocations: 147.8 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/1.501, allocations: 135.7 kB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/1.501, allocations: 97.45 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009029/1.502, allocations: 493 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.502, allocations: 0 / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.948e-06/1.502, allocations: 0 / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.502, allocations: 0 / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001916/1.504, allocations: 0.6315 MB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.964e-05/1.504, allocations: 15.97 kB / 0.9896 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/1.504, allocations: 78.53 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.506, allocations: 155.3 kB / 0.9898 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/1.507, allocations: 311.3 kB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/1.507, allocations: 32.94 kB / 0.9901 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.507, allocations: 36 kB / 0.9901 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.509, allocations: 0.6143 MB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/1.509, allocations: 12 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/1.509, allocations: 19.98 kB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/1.509, allocations: 40.62 kB / 0.9908 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.51, allocations: 478.1 kB / 0.9913 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/1.516, allocations: 3.42 MB / 0.9946 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.517, allocations: 368.9 kB / 0.995 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/1.518, allocations: 15.91 kB / 0.995 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.163e-05/1.518, allocations: 42.56 kB / 0.995 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 5.06e-06/1.518, allocations: 0 / 0.995 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.006594/1.524, allocations: 1.457 MB / 0.9964 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.524, allocations: 81.11 kB / 0.9965 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/1.525, allocations: 328.3 kB / 0.9968 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/1.525, allocations: 25.7 kB / 0.9969 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/1.525, allocations: 259.3 kB / 0.9971 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.525, allocations: 94.64 kB / 0.9972 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/1.526, allocations: 12 kB / 0.9972 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.526, allocations: 346.8 kB / 0.9975 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/1.526, allocations: 173 kB / 0.9977 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/1.527, allocations: 339.3 kB / 0.998 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/1.527, allocations: 231.9 kB / 0.9982 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.527, allocations: 0 / 0.9982 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003378/1.531, allocations: 0.9086 MB / 0.9991 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/1.532, allocations: 2.092 MB / 1.001 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.532, allocations: 8 kB / 1.001 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/1.536, allocations: 0.4971 MB / 1.002 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/1.536, allocations: 99.81 kB / 1.002 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00962/1.546, allocations: 3.861 MB / 1.006 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/1.547, allocations: 39.8 kB / 1.006 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.547, allocations: 23.94 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.547, allocations: 4 kB / 1.006 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/1.549, allocations: 487.9 kB / 1.006 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.549, allocations: 4 kB / 1.006 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.549, allocations: 16.06 kB / 1.006 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/1.549, allocations: 111.8 kB / 1.006 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.55, allocations: 8 kB / 1.006 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/1.55, allocations: 35.75 kB / 1.006 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/1.55, allocations: 20 kB / 1.006 GB, free: 11.16 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005945/1.551, allocations: 272.9 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.551, allocations: 31.62 kB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/1.554, allocations: 0.6711 MB / 1.007 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.554, allocations: 4 kB / 1.007 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.554, allocations: 0 / 1.007 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.554, allocations: 4 kB / 1.007 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/1.556, allocations: 0.6598 MB / 1.008 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.556, allocations: 0 / 1.008 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/1.556, allocations: 47.91 kB / 1.008 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/1.559, allocations: 409.5 kB / 1.008 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/1.559, allocations: 4 kB / 1.008 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/1.566, allocations: 3.557 MB / 1.012 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.566, allocations: 0 / 1.012 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/1.569, allocations: 0.8582 MB / 1.013 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.57, allocations: 144.6 kB / 1.013 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.57, allocations: 8 kB / 1.013 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/1.57, allocations: 35.89 kB / 1.013 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.57, allocations: 23.97 kB / 1.013 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/1.571, allocations: 19.94 kB / 1.013 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008076/1.571, allocations: 223.1 kB / 1.013 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.31e-07/1.571, allocations: 0 / 1.013 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00194/1.573, allocations: 192 kB / 1.013 GB, free: 3.602 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003938/1.577, allocations: 1.639 MB / 1.015 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003095/1.58, allocations: 0.9516 MB / 1.016 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/1.58, allocations: 4 kB / 1.016 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.582, allocations: 482.5 kB / 1.016 GB, free: 448 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/1.583, allocations: 60.98 kB / 1.016 GB, free: 388 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.595, allocations: 6.12 MB / 1.022 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.596, allocations: 0.8547 MB / 1.023 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008249/1.597, allocations: 143.1 kB / 1.023 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/1.598, allocations: 115.4 kB / 1.023 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of SimCode: time 2.605e-06/1.598, allocations: 0 / 1.023 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/1.632, allocations: 9.834 MB / 1.033 GB, free: 15.33 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.632, allocations: 223.3 kB / 1.033 GB, free: 15.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.89, allocations: 8.062 kB / 1.033 GB, free: 15.08 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat