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.001496/0.001496, allocations: 99 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.001724/0.001724, 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.528/2.528, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.116/5.116, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007433/0.0007436, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749/1.749, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007049/1.757, allocations: 2.773 MB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00516/1.762, allocations: 1.715 MB / 0.9853 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/1.762, allocations: 3.938 kB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/1.763, allocations: 35.77 kB / 0.9853 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009076/1.764, allocations: 155.5 kB / 0.9854 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/1.765, allocations: 219.4 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006288/1.765, allocations: 247.5 kB / 0.9859 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/1.767, allocations: 433.2 kB / 0.9863 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/1.767, allocations: 103.7 kB / 0.9864 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/1.768, allocations: 139.5 kB / 0.9865 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/1.768, allocations: 12 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/1.768, allocations: 135.8 kB / 0.9867 GB, free: 296 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/1.769, allocations: 95.77 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/1.769, allocations: 73.58 kB / 0.9868 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/1.77, allocations: 349.4 kB / 0.9872 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.77, allocations: 3.938 kB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.238e-06/1.77, allocations: 0 / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.77, allocations: 0 / 0.9872 GB, free: 15.77 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.002224/1.772, allocations: 0.5379 MB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.000103/1.772, allocations: 8.031 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/1.772, allocations: 70.52 kB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/1.774, allocations: 107.5 kB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/1.775, allocations: 267.3 kB / 0.9881 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/1.775, allocations: 12.56 kB / 0.9881 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/1.775, allocations: 43.91 kB / 0.9882 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/1.777, allocations: 441.1 kB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.777, allocations: 3.906 kB / 0.9886 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/1.777, allocations: 8 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/1.777, allocations: 40.53 kB / 0.9887 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.778, allocations: 349.9 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/1.784, allocations: 2.211 MB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/1.785, allocations: 266.9 kB / 0.9914 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/1.785, allocations: 4.188 kB / 0.9914 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.785, allocations: 34.75 kB / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 5.881e-06/1.785, allocations: 4 kB / 0.9914 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.00357/1.789, allocations: 1.042 MB / 0.9925 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/1.789, allocations: 55.41 kB / 0.9925 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/1.789, allocations: 256.8 kB / 0.9928 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/1.789, allocations: 29.7 kB / 0.9928 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/1.79, allocations: 184 kB / 0.993 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.79, allocations: 86.73 kB / 0.993 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/1.79, allocations: 12 kB / 0.9931 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.79, allocations: 334.8 kB / 0.9934 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/1.79, allocations: 151.9 kB / 0.9935 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/1.791, allocations: 241.5 kB / 0.9938 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/1.792, allocations: 185.3 kB / 0.9939 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.792, allocations: 0 / 0.9939 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001792/1.793, allocations: 0.5859 MB / 0.9945 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/1.793, allocations: 11.98 kB / 0.9945 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.793, allocations: 4 kB / 0.9945 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.795, allocations: 184.7 kB / 0.9947 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/1.795, allocations: 63.89 kB / 0.9948 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/1.801, allocations: 2.35 MB / 0.9971 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/1.802, allocations: 19.94 kB / 0.9971 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/1.802, allocations: 16.06 kB / 0.9971 GB, free: 4.98 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.000497/1.803, allocations: 165.7 kB / 0.9972 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.803, allocations: 23.72 kB / 0.9973 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.804, allocations: 357.1 kB / 0.9976 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.804, allocations: 4.109 kB / 0.9976 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.804, allocations: 3.938 kB / 0.9976 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.804, allocations: 0 / 0.9976 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/1.806, allocations: 0.8189 MB / 0.9984 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.806, allocations: 0 / 0.9984 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/1.807, allocations: 75.88 kB / 0.9985 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.807, allocations: 0 / 0.9985 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/1.807, allocations: 8 kB / 0.9985 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.807, allocations: 7.953 kB / 0.9985 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.807, allocations: 0 / 0.9985 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/1.809, allocations: 0.6349 MB / 0.9991 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/1.809, allocations: 132.7 kB / 0.9992 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/1.809, allocations: 4 kB / 0.9993 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/1.809, allocations: 15.98 kB / 0.9993 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/1.809, allocations: 19.97 kB / 0.9993 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.809, allocations: 8 kB / 0.9993 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003408/1.81, allocations: 172.5 kB / 0.9995 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/1.81, allocations: 4 kB / 0.9995 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009121/1.811, allocations: 88 kB / 0.9995 GB, free: 2.336 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.002392/1.813, allocations: 1.316 MB / 1.001 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.815, allocations: 0.5363 MB / 1.001 GB, free: 444 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.815, allocations: 0 / 1.001 GB, free: 444 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/1.816, allocations: 143.9 kB / 1.001 GB, free: 300 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/1.816, allocations: 45.52 kB / 1.002 GB, free: 256 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.827, allocations: 3.774 MB / 1.005 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.828, allocations: 0.7951 MB / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005675/1.829, allocations: 78.91 kB / 1.006 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/1.829, allocations: 87.41 kB / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of SimCode: time 2.915e-06/1.829, allocations: 0 / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/1.868, allocations: 6.257 MB / 1.012 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004492/1.868, allocations: 217.9 kB / 1.012 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/5.087, allocations: 7.875 kB / 1.012 GB, free: 5.094 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