Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.001629/0.001629, allocations: 100.4 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.002283/0.002283, 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.725/2.725, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.275/5.275, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007887/0.0007892, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921/1.922, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.009715/1.932, allocations: 4.001 MB / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005993/1.938, allocations: 2.051 MB / 0.9868 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/1.938, allocations: 4 kB / 0.9868 GB, free: 212 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/1.939, allocations: 71.53 kB / 0.9869 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/1.94, allocations: 187.5 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/1.941, allocations: 271.2 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009014/1.942, allocations: 315.4 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.944, allocations: 0.6007 MB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008259/1.945, allocations: 171.4 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/1.946, allocations: 183.3 kB / 0.9885 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/1.946, allocations: 16 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/1.946, allocations: 139.8 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/1.947, allocations: 139.7 kB / 0.9888 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/1.947, allocations: 93.52 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008611/1.948, allocations: 496.8 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.948, allocations: 0 / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.076e-06/1.948, allocations: 4 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.948, allocations: 4 kB / 0.9894 GB, free: 13.53 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.001747/1.949, allocations: 0.6238 MB / 0.99 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.697e-05/1.95, allocations: 12.03 kB / 0.99 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/1.95, allocations: 86.5 kB / 0.9901 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.951, allocations: 143.3 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/1.952, allocations: 315.3 kB / 0.9905 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/1.952, allocations: 32.95 kB / 0.9905 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.952, allocations: 39.98 kB / 0.9906 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.954, allocations: 0.6104 MB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.954, allocations: 7.938 kB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/1.954, allocations: 16 kB / 0.9912 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.954, allocations: 44.62 kB / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.955, allocations: 470.2 kB / 0.9917 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006148/1.962, allocations: 3.42 MB / 0.995 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.963, allocations: 388.8 kB / 0.9954 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/1.963, allocations: 3.938 kB / 0.9954 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.963, allocations: 38.56 kB / 0.9954 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 5.029e-06/1.963, allocations: 0 / 0.9954 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.007033/1.97, allocations: 1.462 MB / 0.9969 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.97, allocations: 81.11 kB / 0.997 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/1.971, allocations: 324.4 kB / 0.9973 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/1.971, allocations: 29.7 kB / 0.9973 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/1.971, allocations: 271.2 kB / 0.9975 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.971, allocations: 86.75 kB / 0.9976 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/1.971, allocations: 8 kB / 0.9976 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002906/1.972, allocations: 346.8 kB / 0.998 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/1.972, allocations: 177 kB / 0.9981 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/1.973, allocations: 334.1 kB / 0.9985 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/1.973, allocations: 231.8 kB / 0.9987 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.974, allocations: 4 kB / 0.9987 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003444/1.977, allocations: 0.9048 MB / 0.9996 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001711/1.979, allocations: 2.09 MB / 1.002 GB, free: 196 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.979, allocations: 8 kB / 1.002 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.982, allocations: 0.5048 MB / 1.002 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/1.983, allocations: 99.81 kB / 1.002 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.993, allocations: 3.862 MB / 1.006 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/1.994, allocations: 39.88 kB / 1.006 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/1.994, allocations: 24 kB / 1.006 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.994, allocations: 4 kB / 1.006 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/1.995, allocations: 479.8 kB / 1.006 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.995, allocations: 12 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.995, allocations: 8 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/1.996, allocations: 107.8 kB / 1.007 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.996, allocations: 8 kB / 1.007 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/1.996, allocations: 31.81 kB / 1.007 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/1.996, allocations: 27.98 kB / 1.007 GB, free: 10.71 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.0005462/1.997, allocations: 277.2 kB / 1.007 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.997, allocations: 31.62 kB / 1.007 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/2, allocations: 0.6749 MB / 1.008 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/2, allocations: 0 / 1.008 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/2, allocations: 8 kB / 1.008 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/2, allocations: 3.938 kB / 1.008 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/2.002, allocations: 0.652 MB / 1.008 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/2.002, allocations: 0 / 1.008 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/2.002, allocations: 43.97 kB / 1.008 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/2.004, allocations: 413.2 kB / 1.009 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/2.004, allocations: 11.98 kB / 1.009 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007221/2.011, allocations: 3.545 MB / 1.012 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.012, allocations: 32 / 1.012 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/2.015, allocations: 0.8583 MB / 1.013 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/2.015, allocations: 148.5 kB / 1.013 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/2.015, allocations: 0 / 1.013 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/2.016, allocations: 47.89 kB / 1.013 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/2.016, allocations: 23.91 kB / 1.013 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/2.016, allocations: 12 kB / 1.013 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004872/2.017, allocations: 223 kB / 1.013 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.41e-07/2.017, allocations: 0 / 1.013 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001557/2.018, allocations: 192 kB / 1.014 GB, free: 3.152 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.004511/2.023, allocations: 1.647 MB / 1.015 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003413/2.026, allocations: 0.9487 MB / 1.016 GB, free: 496 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/2.026, allocations: 0 / 1.016 GB, free: 496 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/2.028, allocations: 489.4 kB / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/2.029, allocations: 58.44 kB / 1.017 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/2.044, allocations: 6.131 MB / 1.023 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/2.046, allocations: 0.8547 MB / 1.024 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008714/2.047, allocations: 143.4 kB / 1.024 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/2.047, allocations: 119.4 kB / 1.024 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of SimCode: time 2.625e-06/2.047, allocations: 0 / 1.024 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/2.165, allocations: 9.857 MB / 1.033 GB, free: 14.89 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000672/2.166, allocations: 229.3 kB / 1.034 GB, free: 14.65 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/6.249, allocations: 0 / 1.034 GB, free: 14.65 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat