Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0007602/0.0007604, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008581/0.0008581, allocations: 168.7 kB / 15.95 MB, free: 204 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.404/1.404, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.538/2.538, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.815, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005163/0.8203, allocations: 2.835 MB / 0.9839 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.8235, allocations: 1.742 MB / 0.9856 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.8237, allocations: 7.938 kB / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.8239, allocations: 39.64 kB / 0.9857 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.8244, allocations: 163.3 kB / 0.9858 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.825, allocations: 223.5 kB / 0.986 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.8255, allocations: 466.6 kB / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.8263, allocations: 441.3 kB / 0.9869 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.8265, allocations: 139.5 kB / 0.987 GB, free: 180 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.8269, allocations: 187.3 kB / 0.9872 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.8269, allocations: 12 kB / 0.9872 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.8272, allocations: 135.8 kB / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.8274, allocations: 107.7 kB / 0.9874 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.8274, allocations: 73.58 kB / 0.9875 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.8278, allocations: 345.4 kB / 0.9878 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8278, allocations: 8 kB / 0.9879 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8278, allocations: 0 / 0.9879 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.8278, allocations: 0 / 0.9879 GB, free: 15.32 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009625/0.8288, allocations: 0.5456 MB / 0.9884 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8289, allocations: 8.031 kB / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.8289, allocations: 62.55 kB / 0.9885 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.8296, allocations: 103.5 kB / 0.9886 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.83, allocations: 255.4 kB / 0.9888 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.83, allocations: 20.55 kB / 0.9888 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.8301, allocations: 43.88 kB / 0.9889 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.8308, allocations: 437.1 kB / 0.9893 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.8308, allocations: 7.906 kB / 0.9893 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.8308, allocations: 15.98 kB / 0.9893 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.831, allocations: 40.53 kB / 0.9893 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.8315, allocations: 345.9 kB / 0.9897 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.8339, allocations: 2.207 MB / 0.9918 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.8344, allocations: 263 kB / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8346, allocations: 161.1 kB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.8346, allocations: 8.172 kB / 0.9922 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.8346, allocations: 34.75 kB / 0.9923 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.8347, allocations: 0 / 0.9923 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.001704/0.8364, allocations: 1.049 MB / 0.9933 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.8364, allocations: 51.41 kB / 0.9933 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.8367, allocations: 252.8 kB / 0.9936 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.8367, allocations: 29.7 kB / 0.9936 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.8368, allocations: 192 kB / 0.9938 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.8369, allocations: 86.75 kB / 0.9939 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.8369, allocations: 8 kB / 0.9939 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8371, allocations: 334.8 kB / 0.9942 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.8373, allocations: 147.9 kB / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.8376, allocations: 249.4 kB / 0.9946 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.8379, allocations: 181.3 kB / 0.9948 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8379, allocations: 0 / 0.9948 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001011/0.8389, allocations: 0.5857 MB / 0.9953 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8389, allocations: 9.719 kB / 0.9953 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8389, allocations: 320 / 0.9953 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.8396, allocations: 196.6 kB / 0.9955 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.8399, allocations: 59.89 kB / 0.9956 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.8425, allocations: 2.296 MB / 0.9978 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.8427, allocations: 19.98 kB / 0.9978 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.8428, allocations: 15.97 kB / 0.9979 GB, free: 4.434 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.843, allocations: 169.8 kB / 0.998 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.8431, allocations: 31.64 kB / 0.998 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.8436, allocations: 349.4 kB / 0.9984 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8436, allocations: 4 kB / 0.9984 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.8436, allocations: 0 / 0.9984 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8436, allocations: 7.938 kB / 0.9984 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.8446, allocations: 0.8044 MB / 0.9992 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8447, allocations: 4 kB / 0.9992 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.845, allocations: 75.94 kB / 0.9993 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.845, allocations: 0 / 0.9993 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.8451, allocations: 11.94 kB / 0.9993 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.8451, allocations: 7.953 kB / 0.9993 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8451, allocations: 0 / 0.9993 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.8458, allocations: 0.6071 MB / 0.9999 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.8459, allocations: 124.8 kB / 1 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.846, allocations: 7.984 kB / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.8462, allocations: 15.98 kB / 1 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.8462, allocations: 23.88 kB / 1 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.8463, allocations: 7.938 kB / 1 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001989/0.8465, allocations: 176.5 kB / 1 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8465, allocations: 0 / 1 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004795/0.847, allocations: 92 kB / 1 GB, free: 1.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.00127/0.8482, allocations: 1.157 MB / 1.001 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.8493, allocations: 0.5256 MB / 1.002 GB, free: 96 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.8493, allocations: 4 kB / 1.002 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.8496, allocations: 145.2 kB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.8501, allocations: 58.66 kB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.8538, allocations: 2.257 MB / 1.004 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.8544, allocations: 0.7951 MB / 1.005 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.8547, allocations: 70.92 kB / 1.005 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.8549, allocations: 83.41 kB / 1.005 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of SimCode: time 1.292e-06/0.8549, allocations: 0 / 1.005 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.8748, allocations: 6.275 MB / 1.011 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.8752, allocations: 225.2 kB / 1.012 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.88, allocations: 0 / 1.012 GB, free: 6.27 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat